|
ILIAS
release_8 Revision v8.24
|
Collection of ECS settings. More...
Collaboration diagram for ilECSServerSettings:Public Member Functions | |
| activeServerExists () | |
| Check if there is any active server. More... | |
| serverExists () | |
| Check if there is any server. More... | |
| getServers (int $server_type) | |
| Get servers The function must be called with ALL_SERVER, ACTIVE_SERVER or INACTIVE_SERVER. More... | |
Static Public Member Functions | |
| static | getInstance () |
| Get singleton instance. More... | |
Data Fields | |
| const | ALL_SERVER = 0 |
| const | ACTIVE_SERVER = 1 |
| const | INACTIVE_SERVER = 2 |
Protected Member Functions | |
| __construct () | |
| Singleton contructor. More... | |
Private Member Functions | |
| readServers () | |
| Read all servers. More... | |
Private Attributes | |
| ilDBInterface | $db |
| array | $servers |
Static Private Attributes | |
| static ilECSServerSettings | $instance |
Collection of ECS settings.
Definition at line 25 of file class.ilECSServerSettings.php.
|
protected |
Singleton contructor.
Definition at line 43 of file class.ilECSServerSettings.php.
References $DIC, and readServers().
Here is the call graph for this function:| ilECSServerSettings::activeServerExists | ( | ) |
Check if there is any active server.
Definition at line 66 of file class.ilECSServerSettings.php.
References getServers(), and true.
Here is the call graph for this function:
|
static |
Get singleton instance.
Definition at line 57 of file class.ilECSServerSettings.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilECSObjectSettings\_handleDelete(), ilECSSettingsGUI\communities(), ilECSSetting\ecsConfigured(), ilECSSettingsGUI\exportMappings(), ilAdvancedMDRecordGUI\handleECSDefinitions(), ilECSSettingsGUI\imported(), ilECSSettingsGUI\importMappings(), ilAuthProviderECS\initECSServices(), ilECSObjectSettings\isActive(), ilECSSettingsGUI\overview(), ilECSSettingsGUI\readAll(), ilECSSettingsGUI\refreshParticipants(), ilCronEcsTaskScheduler\run(), ilECSSettingsGUI\setSubTabs(), and ilECSSettingsGUI\updateCommunities().
Here is the caller graph for this function:| ilECSServerSettings::getServers | ( | int | $server_type | ) |
Get servers The function must be called with ALL_SERVER, ACTIVE_SERVER or INACTIVE_SERVER.
Definition at line 84 of file class.ilECSServerSettings.php.
References $server, and $servers.
Referenced by activeServerExists(), ilECSServerTableGUI\parse(), and serverExists().
Here is the caller graph for this function:
|
private |
Read all servers.
Definition at line 104 of file class.ilECSServerSettings.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilECSSetting\getInstanceByServerId(), and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSServerSettings::serverExists | ( | ) |
Check if there is any server.
Definition at line 74 of file class.ilECSServerSettings.php.
References getServers(), and true.
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilECSServerSettings.php.
|
staticprivate |
Definition at line 31 of file class.ilECSServerSettings.php.
|
private |
Definition at line 37 of file class.ilECSServerSettings.php.
Referenced by getServers().
| const ilECSServerSettings::ACTIVE_SERVER = 1 |
Definition at line 28 of file class.ilECSServerSettings.php.
Referenced by ilAuthProviderECS\doAuthentication(), ilECSSettingsGUI\readAll(), ilCronEcsTaskScheduler\run(), and ilECSSettingsGUI\updateCommunities().
| const ilECSServerSettings::ALL_SERVER = 0 |
Definition at line 27 of file class.ilECSServerSettings.php.
Referenced by ilECSSettingsGUI\communities(), ilECSSettingsGUI\exportMappings(), ilECSSettingsGUI\importMappings(), ilECSServerTableGUI\parse(), and ilECSSettingsGUI\refreshParticipants().
| const ilECSServerSettings::INACTIVE_SERVER = 2 |
Definition at line 29 of file class.ilECSServerSettings.php.