abstract class ControllerLogger in Module Object Oriented Programming API 6
Same name in this branch
- 6 component/decorator/moopapi.logger.inc \ControllerLogger
- 6 component/decorator/logger/moopapi.logger.inc \ControllerLogger
Same name and namespace in other branches
- 6.2 component/decorator/moopapi.logger.inc \ControllerLogger
- 6.2 component/decorator/logger/moopapi.logger.inc \ControllerLogger
- 7.2 component/decorator/logger/moopapi.logger.inc \ControllerLogger
- 7 component/decorator/logger/moopapi.logger.inc \ControllerLogger
Hierarchy
- class \ControllerLogger extends \Logger
Expanded class hierarchy of ControllerLogger
File
- component/
decorator/ moopapi.logger.inc, line 132
View source
abstract class ControllerLogger extends Logger {
protected $type = 'Controller';
protected $model;
public function __construct($decorators_applied = array(), &$relations = array(), $app) {
parent::__construct($decorators_applied, $relations, $app);
$this
->getModel();
}
protected function getModel() {
$this->model = ComponentFactory::get($this->app_name, 'Model', $this->controller_type, $this->decorators_applied, $this->relations);
return $this->model;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ControllerLogger:: |
protected | property | ||
ControllerLogger:: |
protected | property | ||
ControllerLogger:: |
protected | function | ||
ControllerLogger:: |
public | function |