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 |
|
CASClient::getLang () | |
CASClient::getString ($str) | |
CASClient::setLang ($lang) | |
Variables |
|
CASClient::$_lang | |
CASClient::$_strings |
enum PHPCAS_LANG_DEFAULT |
phpCAS default language (when phpCAS::setLang() is not used)
CASClient::getLang | ( | ) | [private, inherited] |
This method returns the language used by phpCAS.
Definition at line 165 of file client.php.
References CASClient::setLang().
Referenced by CASClient::getString().
CASClient::getString | ( | $ | str | ) | [private, inherited] |
This method returns a string depending on the language.
$str | the index of the string in $_string. |
Definition at line 192 of file client.php.
References _strings, and CASClient::getLang().
Referenced by CASClient::logout(), CASClient::printHTMLFooter(), and CASClient::redirectToCas().
CASClient::setLang | ( | $ | lang | ) | [inherited] |
This method is used to set the language used by phpCAS.
$lang | a string representing the language. |
Definition at line 212 of file client.php.
References _strings.
Referenced by CASClient::getLang().
CASClient::$_lang [private, inherited] |
A string corresponding to the language used by phpCAS. Written by CASClient::setLang(), read by CASClient::getLang().
Definition at line 156 of file client.php.
CASClient::$_strings
[private, inherited] |
array containing the strings used by phpCAS. Written by CASClient::setLang(), read by CASClient::getString() and used by CASClient::setLang().
Definition at line 181 of file client.php.