phpCAS
version 1.4.0
|
Namespaces | |
PhpCAS | |
Functions | |
CAS_Client::setLang ($lang) | |
CAS_Client::getLangObj () | |
Variables | |
CAS_Client::$_lang = PHPCAS_LANG_DEFAULT | |
const | PHPCAS_LANG_DEFAULT PHPCAS_LANG_ENGLISH |
To add a new language:
CAS_Client::getLangObj | ( | ) |
Create the language
Definition at line 224 of file Client.php.
References CAS_Client\$_lang.
Referenced by CAS_Client\_authError(), CAS_Client\logout(), CAS_Client\printHTMLFooter(), CAS_Client\redirectToCas(), CAS_Client\serviceMail(), and CAS_Client\serviceWeb().
CAS_Client::setLang | ( | $lang | ) |
This method is used to set the language used by phpCAS.
string | $lang | representing the language. |
Definition at line 203 of file Client.php.
References phpCAS\traceBegin(), and phpCAS\traceEnd().
|
private |
A string corresponding to the language used by phpCAS. Written by CAS_Client::setLang(), read by CAS_Client::getLang().
Definition at line 194 of file Client.php.
Referenced by CAS_Client\getLangObj().
const PHPCAS_LANG_DEFAULT PHPCAS_LANG_ENGLISH |
phpCAS default language (when phpCAS::setLang() is not used)