You are here

protected function Controller::getModel in Module Object Oriented Programming API 7

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

File

component/moopapi.component.inc, line 226

Class

Controller

Code

protected function getModel() {
  $this->model = ComponentFactory::get($this->app_name, 'Model', $this->controller_type, $this->decorators_applied, $this->relations);
  return $this->model;
}