protected function Controller::getModel in Module Object Oriented Programming API 6
Same name and namespace in other branches
- 6.2 component/moopapi.component.inc \Controller::getModel()
- 7.2 component/moopapi.component.inc \Controller::getModel()
- 7 component/moopapi.component.inc \Controller::getModel()
1 call to Controller::getModel()
- Controller::__construct in component/
moopapi.component.inc
File
- component/
moopapi.component.inc, line 231
Class
Code
protected function getModel() {
$this->model = ComponentFactory::get($this->app_name, 'Model', $this->controller_type, $this->decorators_applied, $this->relations);
return $this->model;
}