Translation2::getPage

Translation2::getPage() – Get an entire group of strings

Synopsis

require_once 'Translation2.php';

array Translation2::getPage ( string $pageID = TRANSLATION2_DEFAULT_PAGEID , string $langID = null )

Description

Same as getRawPage(), but resort to fallback language and replace parameters when needed.

NB: in Translation2 lingo, a "page" is just a logical "group of strings", it doesn't have to be a "phisical" (HTML or whatever) page.

Parameter

string $pageID

string $langID

Note

This function can not be called statically.