Translation2::getRaw() – Get translated string (as-is)


require_once 'Translation2.php';

string Translation2::getRaw ( string $stringID , string $pageID = TRANSLATION2_DEFAULT_PAGEID , string $langID = null , string $defaultText = '' )


Fetch the string from the container. If the string is empty return $defaultText.


string $stringID

string $pageID

string $langID

string $defaultText

Text to display when the string is empty


This function can not be called statically.

Get an entire group of strings (Previous) Get the array of strings in a page (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.