Translation2::setPageID

Translation2::setPageID() – Set default page

Synopsis

require_once 'Translation2.php';

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

Description

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.

Parameter

string $pageID

Note

This function can not be called statically.

Set default lang (Previous) Set parameters for next string (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.