ILIAS
release_8 Revision v8.19
|
Collection of ECS settings. More...
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().
ilECSServerSettings::activeServerExists | ( | ) |
Check if there is any active server.
Definition at line 66 of file class.ilECSServerSettings.php.
References getServers().
|
static |
Get singleton instance.
Definition at line 57 of file class.ilECSServerSettings.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilECSObjectSettings\_handleDelete(), ilInfoScreenGUI\addMetaDataSections(), 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().
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, $servers, and ilECSSetting\isEnabled().
Referenced by activeServerExists(), ilECSServerTableGUI\parse(), and serverExists().
|
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().
ilECSServerSettings::serverExists | ( | ) |
Check if there is any server.
Definition at line 74 of file class.ilECSServerSettings.php.
References getServers().
|
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.