Simple controllers (offer and position) are workign in the new oo format

This commit is contained in:
2019-06-04 16:51:50 +02:00
parent 616a0b7dd9
commit 16e7ed0bc0
17 changed files with 275 additions and 70 deletions

View File

@@ -6,18 +6,15 @@ defined('_JEXEC') or die;
class ClubsControllerOffer extends AbstractClubsController
{
protected function getNameOfElement()
protected function getSingleBaseName()
{
return 'offer';
}
protected function getDataMapping()
protected function getFactory()
{
return array(
'name' => array('required'=>true, 'name'=>'Bezeichnung', 'filter'=>'string')
);
return new CommonClubsModelFactoryOffer();
}
}