Translation2::setLang Translation2::setParams

Translation2

PEAR Manual


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.



Translation2::setLang Translation2::setParams

Translation2

PEAR Manual