ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
Internationalization
+ Collaboration diagram for Internationalization:

Functions

 phpCAS::setLang ($lang)
 This method is used to set the language used by phpCAS.

Variables

const PHPCAS_LANG_ENGLISH = 'english'
const PHPCAS_LANG_FRENCH = 'french'
const PHPCAS_LANG_GREEK = 'greek'
const PHPCAS_LANG_GERMAN = 'german'
const PHPCAS_LANG_JAPANESE = 'japanese'
const PHPCAS_LANG_SPANISH = 'spanish'
const PHPCAS_LANG_CATALAN = 'catalan'
const PHPCAS_LANG_ENGLISH = 'english'
const PHPCAS_LANG_FRENCH = 'french'
const PHPCAS_LANG_GREEK = 'greek'

Detailed Description

Function Documentation

phpCAS::setLang (   $lang)

This method is used to set the language used by phpCAS.

Note
Can be called only once.
Parameters
$langa string representing the language.
See Also
PHPCAS_LANG_FRENCH, PHPCAS_LANG_ENGLISH

Definition at line 644 of file CAS.php.

References $lang, $PHPCAS_CLIENT, and phpCAS\error().

{
if (!is_object($PHPCAS_CLIENT)) {
phpCAS :: error('this method should not be called before ' . __CLASS__ . '::client() or ' . __CLASS__ . '::proxy()');
}
if (gettype($lang) != 'string') {
phpCAS :: error('type mismatched for parameter $lang (should be `string\')');
}
$PHPCAS_CLIENT->setLang($lang);
}

+ Here is the call graph for this function:

Variable Documentation

const PHPCAS_LANG_CATALAN = 'catalan'

Definition at line 234 of file CAS.php.

const PHPCAS_LANG_ENGLISH = 'english'

Definition at line 146 of file CAS.php.

const PHPCAS_LANG_ENGLISH = 'english'

Definition at line 228 of file CAS.php.

const PHPCAS_LANG_FRENCH = 'french'

Definition at line 147 of file CAS.php.

const PHPCAS_LANG_FRENCH = 'french'

Definition at line 229 of file CAS.php.

const PHPCAS_LANG_GERMAN = 'german'

Definition at line 231 of file CAS.php.

const PHPCAS_LANG_GREEK = 'greek'

Definition at line 148 of file CAS.php.

const PHPCAS_LANG_GREEK = 'greek'

Definition at line 230 of file CAS.php.

const PHPCAS_LANG_JAPANESE = 'japanese'

Definition at line 232 of file CAS.php.

const PHPCAS_LANG_SPANISH = 'spanish'

Definition at line 233 of file CAS.php.