Translation2_Decorator_DefaultText::get()

Translation2_Decorator_DefaultText::get() -- Get translated string

Synopsis

require_once 'DecoratorDefaultText.php';

string Translation2_Decorator_DefaultText::get (string $stringID [, string $pageID = TRANSLATION2_DEFAULT_PAGEID [, string $langID = NULL [, string $defaultText = '']]])

Описание

If the string is empty, return the $defaultText if not empty, the $stringID otherwise.

Параметр

string $stringID

string $pageID

string $langID

string $defaultText

Text to display when the string is empty

Throws

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ