abstract class Decorator in Module Object Oriented Programming API 6
Same name and namespace in other branches
- 6.2 component/moopapi.component.inc \Decorator
- 7.2 component/moopapi.component.inc \Decorator
- 7 component/moopapi.component.inc \Decorator
Decorator.
Hierarchy
Expanded class hierarchy of Decorator
See also
http://en.wikipedia.org/wiki/Decorator_pattern
File
- component/
moopapi.component.inc, line 254
View source
abstract class Decorator extends Component {
/**
* Here the original value of decorated application is stored.
* @var IApplication
*/
protected $original;
/**
* @param IApplication $app
*/
public function __construct($decorators_applied = array(), &$relations = array(), $app) {
parent::__construct($decorators_applied, $relations);
$this->original = $app;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Component:: |
protected | property | ||
Component:: |
protected | property | ||
Component:: |
protected | property | ||
Component:: |
protected | property | ||
Component:: |
protected | property | ||
Component:: |
protected | property | 3 | |
Component:: |
constant | |||
Component:: |
constant | |||
Component:: |
constant | |||
Decorator:: |
protected | property | Here the original value of decorated application is stored. | |
Decorator:: |
public | function |
Overrides Component:: |
2 |