Translation2::translate()

Translation2::translate() -- Get translated string

Synopsis

require_once 'Translation2.php';

string Translation2::translate (string $string, string $langID [, mixed $pageID = TRANSLATION2_DEFAULT_PAGEID])

Описание

Search the translation for the string passed as parameter

Параметр

string $string

This is NOT the stringID, this is a real string. The method will search for its matching stringID, and then it will return the associate string in the selected language.

string $langID destination language code

mixed $pageID

Заметка

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


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