string Translation2::get (
string $stringID
, string $pageID = TRANSLATION2_DEFAULT_PAGEID
, string $langID
= null
, string $defaultText = ''
)
Fetch the string from the container. If the string is empty and the DefaultText decorator is used, then return the $defaultText.
$stringID
$pageID
$langID
$defaultText
Text to display when the string is empty. NB: This parameter is only used in the DefaultText decorator
This function can not be called statically.