You are here

public function ApplicationAdapter::getController in Module Object Oriented Programming API 7.2

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

File

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

Class

ApplicationAdapter

Code

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