You are here

public function Decorator::__construct in Module Object Oriented Programming API 6.2

Same name and namespace in other branches
  1. 6 component/moopapi.component.inc \Decorator::__construct()
  2. 7.2 component/moopapi.component.inc \Decorator::__construct()
  3. 7 component/moopapi.component.inc \Decorator::__construct()

Parameters

IApplication $app:

Overrides Component::__construct

2 calls to Decorator::__construct()
Logger::__construct in component/decorator/moopapi.logger.inc
Logger::__construct in component/decorator/logger/moopapi.logger.inc
2 methods override Decorator::__construct()
Logger::__construct in component/decorator/moopapi.logger.inc
Logger::__construct in component/decorator/logger/moopapi.logger.inc

File

component/moopapi.component.inc, line 264

Class

Decorator
Decorator.

Code

public function __construct($decorators_applied = array(), &$relations = array(), $app) {
  parent::__construct($decorators_applied, $relations);
  $this->original = $app;
}