You are here

protected function ApplicationLogger::getController in Module Object Oriented Programming API 6.2

Same name in this branch
  1. 6.2 component/decorator/moopapi.logger.inc \ApplicationLogger::getController()
  2. 6.2 component/decorator/logger/moopapi.logger.inc \ApplicationLogger::getController()
Same name and namespace in other branches
  1. 6 component/decorator/moopapi.logger.inc \ApplicationLogger::getController()
  2. 6 component/decorator/logger/moopapi.logger.inc \ApplicationLogger::getController()
  3. 7.2 component/decorator/logger/moopapi.logger.inc \ApplicationLogger::getController()
  4. 7 component/decorator/logger/moopapi.logger.inc \ApplicationLogger::getController()
2 calls to ApplicationLogger::getController()
ApplicationLogger::getControllers in component/decorator/moopapi.logger.inc
ApplicationLogger::getControllers in component/decorator/logger/moopapi.logger.inc

File

component/decorator/moopapi.logger.inc, line 125

Class

ApplicationLogger

Code

protected function getController($ctrl_name) {
  $this->controllers[$ctrl_name] = ComponentFactory::get($this->app_name, 'Controller', $ctrl_name, $this->decorators_applied, $this->relations);
  return $this->controllers[$ctrl_name];
}