Translation2_Decorator::getDecorator()

Translation2_Decorator::getDecorator() -- Return an instance of a decorator

Synopsis

require_once 'Decorator.php';

object Decorator& Translation2_Decorator::getDecorator (string $decorator, object [optional] 1)

Description

Get an object decorator instance

Parameter

string $decorator

Name of the decorator

object [optional] 1

Return value

returns object reference

Note

This function can not be called statically.