ILIAS
Release_4_2_x_branch Revision 61807
|
Description of class. More...
Public Member Functions | |
setServer ($a_server) | |
getServer () | |
setPort ($a_port) | |
getPort () | |
setUri ($a_uri) | |
getUri () | |
setLoginInstruction ($a_inst) | |
getLoginInstruction () | |
setActive ($a_active) | |
isActive () | |
enableUserCreation ($a_uc) | |
isUserCreationEnabled () | |
enableLocalAuthentication ($a_local) | |
isLocalAuthenticationEnabled () | |
setDefaultRole ($a_role) | |
getDefaultRole () | |
save () | |
Save settings. |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. |
Data Fields | |
const | SYNC_DISABLED = 0 |
const | SYNC_CAS = 1 |
const | SYNC_LDAP = 2 |
Protected Member Functions | |
__construct () | |
Singleton constructor. |
Private Member Functions | |
read () | |
Read settings. | |
getStorage () | |
Get storage object. |
Private Attributes | |
$storage = null | |
$server = '' | |
$port = 0 | |
$uri = '' | |
$login_instructions = '' | |
$active = 0 | |
$create_users = 0 | |
$allow_local = 0 | |
$user_default_role = 0 |
Static Private Attributes | |
static | $instance = null |
Description of class.
Definition at line 10 of file class.ilCASSettings.php.
|
protected |
Singleton constructor.
Definition at line 32 of file class.ilCASSettings.php.
References read().
ilCASSettings::enableLocalAuthentication | ( | $a_local | ) |
Definition at line 110 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::enableUserCreation | ( | $a_uc | ) |
Definition at line 100 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::getDefaultRole | ( | ) |
Definition at line 125 of file class.ilCASSettings.php.
Referenced by save().
|
static |
Get singleton instance.
Definition at line 41 of file class.ilCASSettings.php.
References $instance.
Referenced by ilCASSettingsGUI\__construct().
ilCASSettings::getLoginInstruction | ( | ) |
Definition at line 85 of file class.ilCASSettings.php.
References $login_instructions.
Referenced by save().
ilCASSettings::getPort | ( | ) |
Definition at line 65 of file class.ilCASSettings.php.
References $port.
Referenced by save().
ilCASSettings::getServer | ( | ) |
Definition at line 55 of file class.ilCASSettings.php.
References $server.
Referenced by save().
|
private |
ilCASSettings::getUri | ( | ) |
Definition at line 75 of file class.ilCASSettings.php.
References $uri.
Referenced by save().
ilCASSettings::isActive | ( | ) |
Definition at line 95 of file class.ilCASSettings.php.
References $active.
Referenced by save().
ilCASSettings::isLocalAuthenticationEnabled | ( | ) |
Definition at line 115 of file class.ilCASSettings.php.
References $allow_local.
Referenced by save().
ilCASSettings::isUserCreationEnabled | ( | ) |
Definition at line 105 of file class.ilCASSettings.php.
References $create_users.
Referenced by save().
|
private |
Read settings.
Definition at line 148 of file class.ilCASSettings.php.
References enableLocalAuthentication(), enableUserCreation(), getStorage(), setActive(), setDefaultRole(), setLoginInstruction(), setPort(), setServer(), and setUri().
Referenced by __construct().
ilCASSettings::save | ( | ) |
Save settings.
Definition at line 133 of file class.ilCASSettings.php.
References getDefaultRole(), getLoginInstruction(), getPort(), getServer(), getStorage(), getUri(), isActive(), isLocalAuthenticationEnabled(), and isUserCreationEnabled().
ilCASSettings::setActive | ( | $a_active | ) |
Definition at line 90 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setDefaultRole | ( | $a_role | ) |
Definition at line 120 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setLoginInstruction | ( | $a_inst | ) |
Definition at line 80 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setPort | ( | $a_port | ) |
Definition at line 60 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setServer | ( | $a_server | ) |
Definition at line 50 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setUri | ( | $a_uri | ) |
Definition at line 70 of file class.ilCASSettings.php.
Referenced by read().
|
private |
Definition at line 24 of file class.ilCASSettings.php.
Referenced by isActive().
|
private |
Definition at line 26 of file class.ilCASSettings.php.
Referenced by isLocalAuthenticationEnabled().
|
private |
Definition at line 25 of file class.ilCASSettings.php.
Referenced by isUserCreationEnabled().
|
staticprivate |
Definition at line 17 of file class.ilCASSettings.php.
Referenced by getInstance().
|
private |
Definition at line 23 of file class.ilCASSettings.php.
Referenced by getLoginInstruction().
|
private |
Definition at line 21 of file class.ilCASSettings.php.
Referenced by getPort().
|
private |
Definition at line 20 of file class.ilCASSettings.php.
Referenced by getServer().
|
private |
Definition at line 19 of file class.ilCASSettings.php.
Referenced by getStorage().
|
private |
Definition at line 22 of file class.ilCASSettings.php.
Referenced by getUri().
|
private |
Definition at line 27 of file class.ilCASSettings.php.
const ilCASSettings::SYNC_CAS = 1 |
Definition at line 14 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_DISABLED = 0 |
Definition at line 13 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_LDAP = 2 |
Definition at line 15 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\save().