You are here

public function Controller::__construct in Module Object Oriented Programming API 6.2

Same name and namespace in other branches
  1. 6 component/moopapi.component.inc \Controller::__construct()
  2. 7.2 component/moopapi.component.inc \Controller::__construct()
  3. 7 component/moopapi.component.inc \Controller::__construct()

Overrides Component::__construct

File

component/moopapi.component.inc, line 226

Class

Controller

Code

public function __construct($decorators_applied = array(), &$relations = array()) {
  parent::__construct($decorators_applied, $relations);
  $this
    ->getModel();
}