Translation2::getDecorator Translation2::getLangs

Translation2

PEAR Manual


Translation2::getLang

Translation2::getLang() -- get lang info

Synopsis


      require_once 'Translation2.php';

     

mixed Translation2::getLang ( string $langID = NULL , string $format = 'name' )

Description

Get some extra information about the language (its full name, the localized error text, ...)

Parameter

string $langID

string $format

['name', 'meta', 'error_text', 'array']

Return value

returns [string | array], depending on $format

Note

This function can not be called statically.



Translation2::getDecorator Translation2::getLangs

Translation2

PEAR Manual