public function Application::getControllers in Module Object Oriented Programming API 6.2
Same name and namespace in other branches
- 6 component/moopapi.component.inc \Application::getControllers()
- 7.2 component/moopapi.component.inc \Application::getControllers()
- 7 component/moopapi.component.inc \Application::getControllers()
Overrides IApplication::getControllers
1 call to Application::getControllers()
- Application::__construct in component/
moopapi.component.inc
File
- component/
moopapi.component.inc, line 131
Class
- Application
- @todo Desc for Application.
Code
public function getControllers() {
if (empty($this->controllers)) {
foreach ($this->ctrls as $ctrl_name) {
$this->controllers[$ctrl_name] = $this
->getController($ctrl_name);
}
}
return $this->controllers;
}