You are here

public function ApplicationAdapter::getControllers in Module Object Oriented Programming API 6.2

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

Overrides IApplication::getControllers

2 calls to ApplicationAdapter::getControllers()
ApplicationAdapter::__construct in component/decorator/moopapi.adapter.inc
ApplicationAdapter::__construct in component/decorator/adapter/moopapi.adapter.inc

File

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

Class

ApplicationAdapter

Code

public function getControllers() {
  $controllers = array();
  foreach ($this->ctrls as $ctrl_name) {
    $controllers[$ctrl_name] = $this
      ->getController($ctrl_name);
  }
  return $controllers;
}