ActionController: move moduleInit to Module controller

This commit is contained in:
Thomas Gelf 2014-06-22 13:54:02 +02:00
parent 2cd25b7376
commit de19745eb2
2 changed files with 6 additions and 5 deletions

View File

@ -121,7 +121,6 @@ class ActionController extends Zend_Controller_Action
}
$this->view->tabs = new Tabs();
$this->moduleInit();
$this->init();
}
@ -171,10 +170,6 @@ class ActionController extends Zend_Controller_Action
}
}
protected function moduleInit()
{
}
protected function reloadCss()
{
$this->reloadCss = true;

View File

@ -21,6 +21,7 @@ class ModuleActionController extends ActionController
parent::__construct($request, $response, $invokeArgs);
$this->moduleName = $request->getModuleName();
$this->view->translationDomain = $this->moduleName;
$this->moduleInit();
}
public function Config($file = null)
@ -41,4 +42,9 @@ class ModuleActionController extends ActionController
return $this->configs[$file];
}
}
protected function moduleInit()
{
}
}