Updated abstract controller to allow common CRUD operations, errors not yet testet
This commit is contained in:
@@ -60,30 +60,8 @@ abstract class AbstractClubsViewSingle extends HtmlView
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
// protected abstract function getViewName();
|
||||
|
||||
protected abstract function getControllerName();
|
||||
|
||||
// protected function getModelName()
|
||||
// {
|
||||
// $name = $this->getViewName();
|
||||
// return $this->capitalize($name);
|
||||
// }
|
||||
|
||||
// protected function getModelClass()
|
||||
// {
|
||||
// return 'Clubs' . $this->getModelName();
|
||||
// }
|
||||
|
||||
// private function capitalize($s)
|
||||
// {
|
||||
// $first = substr($s, 0, 1);
|
||||
// $rest = substr($s, 1);
|
||||
// return strtoupper($first) . $rest;
|
||||
// }
|
||||
|
||||
// protected abstract function getElementController();
|
||||
|
||||
/**
|
||||
* @return AbstractCommonClubsModelFactory
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user