ILIAS
release_4-3 Revision
|
To add a new language: More...
Files | |
file | spanish.php |
file | german.php |
file | spanish.php |
Functions | |
CASClient::getLang () | |
This method returns the language used by phpCAS. | |
CASClient::getString ($str) | |
This method returns a string depending on the language. | |
CASClient::setLang ($lang) | |
This method is used to set the language used by phpCAS. |
Variables | |
CASClient::$_lang | |
A string corresponding to the language used by phpCAS. | |
CASClient::$_strings | |
array containing the strings used by phpCAS. | |
const | PHPCAS_LANG_DEFAULT = PHPCAS_LANG_ENGLISH |
phpCAS default language (when phpCAS::setLang() is not used) | |
const | PHPCAS_LANG_DEFAULT = PHPCAS_LANG_ENGLISH |
phpCAS default language (when phpCAS::setLang() is not used) |
To add a new language:
|
private |
This method returns the language used by phpCAS.
Definition at line 194 of file client.php.
References CASClient\$_lang, PHPCAS_LANG_DEFAULT, and CASClient\setLang().
Referenced by CASClient\getString().
|
private |
This method returns a string depending on the language.
$str | the index of the string in $_string. |
Definition at line 221 of file client.php.
References _strings, and CASClient\getLang().
Referenced by CASClient\logout(), CASClient\printHTMLFooter(), and CASClient\redirectToCas().
CASClient::setLang | ( | $lang | ) |
This method is used to set the language used by phpCAS.
$lang | a string representing the language. |
Definition at line 241 of file client.php.
References $lang, and _strings.
Referenced by CASClient\getLang().
|
private |
A string corresponding to the language used by phpCAS.
Written by CASClient::setLang(), read by CASClient::getLang().
Definition at line 185 of file client.php.
Referenced by CASClient\getLang().
|
private |
array containing the strings used by phpCAS.
Written by CASClient::setLang(), read by CASClient::getString() and used by CASClient::setLang().
Definition at line 210 of file client.php.
const PHPCAS_LANG_DEFAULT = PHPCAS_LANG_ENGLISH |
phpCAS default language (when phpCAS::setLang() is not used)
const PHPCAS_LANG_DEFAULT = PHPCAS_LANG_ENGLISH |
phpCAS default language (when phpCAS::setLang() is not used)
Definition at line 246 of file CAS.php.
Referenced by CASClient\getLang().