You are here

protected function ControllerLogger::getModel in Module Object Oriented Programming API 6

Same name in this branch
  1. 6 component/decorator/moopapi.logger.inc \ControllerLogger::getModel()
  2. 6 component/decorator/logger/moopapi.logger.inc \ControllerLogger::getModel()
Same name and namespace in other branches
  1. 6.2 component/decorator/moopapi.logger.inc \ControllerLogger::getModel()
  2. 6.2 component/decorator/logger/moopapi.logger.inc \ControllerLogger::getModel()
  3. 7.2 component/decorator/logger/moopapi.logger.inc \ControllerLogger::getModel()
  4. 7 component/decorator/logger/moopapi.logger.inc \ControllerLogger::getModel()
2 calls to ControllerLogger::getModel()
ControllerLogger::__construct in component/decorator/moopapi.logger.inc
ControllerLogger::__construct in component/decorator/logger/moopapi.logger.inc

File

component/decorator/moopapi.logger.inc, line 141

Class

ControllerLogger

Code

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