Translation2::setPageID() – Set default page


require_once 'Translation2.php';

void Translation2::setPageID ( mixed $pageID = null , string $langID )


Set the page (aka 'group of strings') that shall be used when retrieving strings. If you set it, you don't have to state it in each get() call.


string $pageID


This function can not be called statically.

Set default lang (Previous) Set parameters for next string (Next)
Last updated: Fri, 28 Oct 2016 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.