Translation2::getDecorator()

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

概要

require_once 'Translation2.php';

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.

パラメータ

string $decorator

Name of the decorator

object $obj [optional]

Object to decorate (the default object being $this)

返り値

returns object Reference of a Translation2_Decorator subclass

注意

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