|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Description of class. More...
Collaboration diagram for ilCASSettings: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. More... | |
Static Public Member Functions | |
| static | getInstance () |
| Get singleton instance. More... | |
Data Fields | |
| const | SYNC_DISABLED = 0 |
| const | SYNC_CAS = 1 |
| const | SYNC_LDAP = 2 |
Protected Member Functions | |
| __construct () | |
| Singleton constructor. More... | |
Private Member Functions | |
| read () | |
| Read settings. More... | |
| getStorage () | |
| Get storage object. More... | |
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 31 of file class.ilCASSettings.php.
References read().
Here is the call graph for this function:| ilCASSettings::enableLocalAuthentication | ( | $a_local | ) |
Definition at line 108 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::enableUserCreation | ( | $a_uc | ) |
Definition at line 98 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::getDefaultRole | ( | ) |
Definition at line 123 of file class.ilCASSettings.php.
Referenced by save().
Here is the caller graph for this function:
|
static |
Get singleton instance.
Definition at line 40 of file class.ilCASSettings.php.
References $instance.
Referenced by ilCASSettingsGUI\__construct(), and ilAuthProviderCAS\__construct().
Here is the caller graph for this function:| ilCASSettings::getLoginInstruction | ( | ) |
Definition at line 83 of file class.ilCASSettings.php.
References $login_instructions.
Referenced by save().
Here is the caller graph for this function:| ilCASSettings::getPort | ( | ) |
Definition at line 63 of file class.ilCASSettings.php.
References $port.
Referenced by save().
Here is the caller graph for this function:| ilCASSettings::getServer | ( | ) |
Definition at line 53 of file class.ilCASSettings.php.
References $server.
Referenced by save().
Here is the caller graph for this function:
|
private |
| ilCASSettings::getUri | ( | ) |
Definition at line 73 of file class.ilCASSettings.php.
References $uri.
Referenced by save().
Here is the caller graph for this function:| ilCASSettings::isActive | ( | ) |
Definition at line 93 of file class.ilCASSettings.php.
References $active.
Referenced by save().
Here is the caller graph for this function:| ilCASSettings::isLocalAuthenticationEnabled | ( | ) |
Definition at line 113 of file class.ilCASSettings.php.
References $allow_local.
Referenced by save().
Here is the caller graph for this function:| ilCASSettings::isUserCreationEnabled | ( | ) |
Definition at line 103 of file class.ilCASSettings.php.
References $create_users.
Referenced by save().
Here is the caller graph for this function:
|
private |
Read settings.
Definition at line 146 of file class.ilCASSettings.php.
References enableLocalAuthentication(), enableUserCreation(), getStorage(), setActive(), setDefaultRole(), setLoginInstruction(), setPort(), setServer(), and setUri().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCASSettings::save | ( | ) |
Save settings.
Definition at line 131 of file class.ilCASSettings.php.
References getDefaultRole(), getLoginInstruction(), getPort(), getServer(), getStorage(), getUri(), isActive(), isLocalAuthenticationEnabled(), and isUserCreationEnabled().
Here is the call graph for this function:| ilCASSettings::setActive | ( | $a_active | ) |
Definition at line 88 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::setDefaultRole | ( | $a_role | ) |
Definition at line 118 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::setLoginInstruction | ( | $a_inst | ) |
Definition at line 78 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::setPort | ( | $a_port | ) |
Definition at line 58 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::setServer | ( | $a_server | ) |
Definition at line 48 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilCASSettings::setUri | ( | $a_uri | ) |
Definition at line 68 of file class.ilCASSettings.php.
Referenced by read().
Here is the caller graph for this function:
|
private |
Definition at line 23 of file class.ilCASSettings.php.
Referenced by isActive().
|
private |
Definition at line 25 of file class.ilCASSettings.php.
Referenced by isLocalAuthenticationEnabled().
|
private |
Definition at line 24 of file class.ilCASSettings.php.
Referenced by isUserCreationEnabled().
|
staticprivate |
Definition at line 16 of file class.ilCASSettings.php.
Referenced by getInstance().
|
private |
Definition at line 22 of file class.ilCASSettings.php.
Referenced by getLoginInstruction().
|
private |
Definition at line 20 of file class.ilCASSettings.php.
Referenced by getPort().
|
private |
Definition at line 19 of file class.ilCASSettings.php.
Referenced by getServer().
|
private |
Definition at line 18 of file class.ilCASSettings.php.
Referenced by getStorage().
|
private |
Definition at line 21 of file class.ilCASSettings.php.
Referenced by getUri().
|
private |
Definition at line 26 of file class.ilCASSettings.php.
| const ilCASSettings::SYNC_CAS = 1 |
Definition at line 13 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
| const ilCASSettings::SYNC_DISABLED = 0 |
Definition at line 12 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
| const ilCASSettings::SYNC_LDAP = 2 |
Definition at line 14 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().