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.

get langs (Previous) Get translated string (as-is) (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.