You are here

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

Same name and namespace in other branches
  1. 6.2 component/moopapi.component.inc \Decorator::__construct()
  2. 6 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()
ApplicationAdapter::__construct in component/decorator/adapter/moopapi.adapter.inc
Logger::__construct in component/decorator/logger/moopapi.logger.inc
2 methods override Decorator::__construct()
ApplicationAdapter::__construct in component/decorator/adapter/moopapi.adapter.inc
Logger::__construct in component/decorator/logger/moopapi.logger.inc

File

component/moopapi.component.inc, line 259

Class

Decorator
Decorator.

Code

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