object Decorator& Translation2::getDecorator (
string $decorator
, object [optional] 1
)
デコレータのインスタンスを取得するために使用します。 デコレータとはいわゆるフィルタのようなもので、 渡されたオブジェクトや変数の値を変更したり何らかの処理を加えたりします。
$decorator
デコレータの名前。
$obj [optional]
デコレートするオブジェクト (デフォルトのオブジェクトは $this です)。
Translation2_Decorator のサブクラスのオブジェクトへの参照を返します。
This function can not be called statically.