object Decorator& Translation2::getDecorator (
string $decorator
, object [optional] 1
)
This method is used to get a decorator instance. A decorator can be seen as a filter, i.e. something that can change or handle the values of the objects/vars that pass through.
$decorator
Name of the decorator
$obj
[optional]
Object to decorate (the default object being $this)
returns object Reference of a Translation2_Decorator subclass
This function can not be called statically.