This method is used to set the language used by phpCAS.
- Note
- Can be called only once.
- Parameters
-
$lang | a string representing the language. |
- See also
- PHPCAS_LANG_FRENCH, PHPCAS_LANG_ENGLISH
Definition at line 644 of file CAS.php.
644 {
647 phpCAS :: error(
'this method should not be called before ' . __CLASS__ .
'::client() or ' . __CLASS__ .
'::proxy()');
648 }
649 if (gettype(
$lang) !=
'string') {
650 phpCAS :: error(
'type mismatched for parameter $lang (should be `string\')');
651 }
653 }
error($msg)
This method is used by interface methods to print an error and where the function was originally call...
$PHPCAS_CLIENT
This global variable is used by the interface class phpCAS.
References $lang, $PHPCAS_CLIENT, and phpCAS\error().