You are here

abstract class ControllerLogger in Module Object Oriented Programming API 7.2

Same name and namespace in other branches
  1. 6.2 component/decorator/moopapi.logger.inc \ControllerLogger
  2. 6.2 component/decorator/logger/moopapi.logger.inc \ControllerLogger
  3. 6 component/decorator/moopapi.logger.inc \ControllerLogger
  4. 6 component/decorator/logger/moopapi.logger.inc \ControllerLogger
  5. 7 component/decorator/logger/moopapi.logger.inc \ControllerLogger

Hierarchy

Expanded class hierarchy of ControllerLogger

File

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

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

Namesort descending Modifiers Type Description Overrides
Component::$app_name protected property
Component::$decorators_applied protected property
Component::$id protected property
Component::$relations protected property
Component::$rltns protected property
Component::ID_APPLICATION constant
Component::TYPE_CONTROLLER constant
Component::TYPE_MODEL constant
ControllerLogger::$model protected property
ControllerLogger::$type protected property Overrides Component::$type
ControllerLogger::getModel protected function
ControllerLogger::__construct public function Overrides Logger::__construct
Decorator::$original protected property Here the original value of decorated application is stored.
Logger::$date_format protected property
Logger::$destination protected property
Logger::$level protected property
Logger::getDateFormat public function
Logger::getDestination public function
Logger::getLevel public function
Logger::getLevels protected static function
Logger::log public function
Logger::logCall protected function
Logger::LOGGER_DATE_FORMAT constant
Logger::LOGGER_DB constant
Logger::LOGGER_DISABLED constant
Logger::LOGGER_EMAIL constant
Logger::LOGGER_FILE constant
Logger::put2log protected function
Logger::setDateFormat public function
Logger::setDestination public function
Logger::setLevel public function