Translation2_Decorator_CacheMemory::get()

Translation2_Decorator_CacheMemory::get() -- Get translated string

Synopsis

require_once 'DecoratorCacheMemory.php';

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

Описание

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 йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ