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.