Translation2::get (Previous) (Next) Translation2::getLang

View this page in Last updated: Sun, 06 Jul 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Translation2::getDecorator()

Translation2::getDecorator() -- デコレータのインスタンスを返す

説明

デコレータのインスタンスを取得するために使用します。 デコレータとはいわゆるフィルタのようなもので、 渡されたオブジェクトや変数の値を変更したり何らかの処理を加えたりします。

パラメータ

string $decorator

デコレータの名前。

object $obj [optional]

デコレートするオブジェクト (デフォルトのオブジェクトは $this です)。

返り値

Translation2_Decorator のサブクラスのオブジェクトへの参照を返します。

注意

この関数は、スタティックにコールする ことはできません。

Translation2::get (Previous) (Next) Translation2::getLang

Download Documentation Last updated: Sun, 06 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.