You are here

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

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

Overrides IApplication::getControllers

1 call to ApplicationAdapter::getControllers()
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;
}