Translation2_Decorator_CacheLiteFunction::get()

Translation2_Decorator_CacheLiteFunction::get() -- Get translated string

Synopsis

require_once 'DecoratorCacheLiteFunction.php';

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

Описание

First check if the string is cached, if not => fetch the page from the container and cache it for later use.

Параметр

string $stringID

string $pageID

string $langID

string $defaultText

Text to display when the strings in both the default and the fallback lang are empty

Throws

throws no exceptions thrown

Заметка

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


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