previousTranslation2::get (Previous) (Next) Translation2::getLangnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Translation2::getDecorator

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

Synopsis

require_once 'Translation2.php';

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

Description

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

Parameter

string $decorator

デコレータの名前。

object $obj [optional]

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

Return value

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

Note

This function can not be called statically.

previousTranslation2::get (Previous) (Next) Translation2::getLangnext

Download Documentation Last updated: Sun, 21 Jun 2009
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.