You are here

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

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

File

component/decorator/moopapi.adapter.inc, line 27

Class

ApplicationAdapter

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];
}