1:n relations have been successfully read.
This commit is contained in:
23
src/admin/common/models/place.php
Normal file
23
src/admin/common/models/place.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
class CommonClubsModelPlace extends AbstractCommonClubsModel
|
||||
{
|
||||
protected function getFactory()
|
||||
{
|
||||
return new CommonClubsModelFactoryPlace();
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->getValues()['name'];
|
||||
}
|
||||
|
||||
public function getClub()
|
||||
{
|
||||
return $this->getValues()['club'];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user