Translation2_Decorator::get()

Translation2_Decorator::get() -- Get translated string

Synopsis

require_once 'Decorator.php';

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

Description

Gets a string applying all the filters.

Parameter

string $stringID

string $pageID

string $langID

string $defaultText

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

Note

This function can not be called statically.