Files | |
file | spanish.php |
file | english.php |
file | english.php |
file | german.php |
file | greek.php |
file | languages.php |
file | spanish.php |
Enumerations | |
enum | PHPCAS_LANG_DEFAULT |
Functions | |
CAS_Client::getLang () | |
CAS_Client::getString ($str) | |
CAS_Client::setLang ($lang) | |
Variables | |
CAS_Client::$_lang | |
CAS_Client::$_strings |
To add a new language:
enum PHPCAS_LANG_DEFAULT |
CAS_Client::getLang | ( | ) | [private, inherited] |
This method returns the language used by phpCAS.
Definition at line 201 of file Client.php.
References CAS_Client::setLang().
Referenced by CAS_Client::getString().
CAS_Client::getString | ( | $ | str | ) | [private, inherited] |
This method returns a string depending on the language.
$str | the index of the string in $_string. |
Definition at line 226 of file Client.php.
References _strings, and CAS_Client::getLang().
Referenced by CAS_Client::logout(), CAS_Client::printHTMLFooter(), and CAS_Client::redirectToCas().
CAS_Client::setLang | ( | $ | lang | ) | [inherited] |
This method is used to set the language used by phpCAS.
$lang | a string representing the language. |
Definition at line 245 of file Client.php.
References _strings.
Referenced by CAS_Client::getLang().
CAS_Client::$_lang [private, inherited] |
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.
CAS_Client::$_strings [private, inherited] |
array containing the strings used by phpCAS. Written by CAS_Client::setLang(), read by CAS_Client::getString() and used by CAS_Client::setLang().
Definition at line 216 of file Client.php.