27 lines
507 B
PHP
27 lines
507 B
PHP
<?php
|
|
|
|
// No direct access.
|
|
defined('_JEXEC') or die;
|
|
|
|
class CommonClubsModelFactoryPlace extends AbstractCommonClubsModelFactory
|
|
{
|
|
public function getAttributes()
|
|
{
|
|
return array(
|
|
'name'=>array(),
|
|
'club'=>array('col'=>'clubid', 'type'=>'ref', 'ref'=>'CommonClubsModelClub')
|
|
);
|
|
}
|
|
|
|
public function getTableName()
|
|
{
|
|
return '#__club_places';
|
|
}
|
|
|
|
public function getClassName()
|
|
{
|
|
return 'CommonClubsModelPlace';
|
|
}
|
|
|
|
|
|
} |