24include_once
'./Services/WebServices/ECS/classes/class.ilECSSetting.php';
69 return count($this->
getServers()) ? true :
false;
78 return count($this->
getServers()) ? true :
false;
98 $query =
'SELECT server_id FROM ecs_server '.
99 'WHERE active = '.$ilDB->quote(0,
'integer').
' '.
117 $query =
'SELECT server_id FROM ecs_server '.
118 'WHERE active = '.$ilDB->quote(1,
'integer').
' '.
122 $this->servers = array();
const DB_FETCHMODE_OBJECT
Collection of ECS settings.
readActiveServers()
Read all actice servers @global ilDB $ilDB.
readInactiveServers()
Read inactive servers @global ilDB $ilDB.
serverExists()
Check if there is any server.
__construct()
Singleton contructor.
static getInstance()
Get singleton instance.
activeServerExists()
Check if there is any active server.
static getInstanceByServerId($a_server_id)
Get singleton instance per server.