24 include_once
'./Services/WebServices/ECS/classes/class.ilECSCommunityCache.php';
54 if(isset(self::$instance))
56 return self::$instance;
65 public static function delete($a_server_id)
69 $query =
'DELETE FROM ecs_community '.
70 'WHERE sid = '.$ilDB->quote($a_server_id,
'integer');
90 if($com->getServerId() == $a_server_id)
92 if(in_array($a_mid,$com->getMids()))
94 return $com->getOwnId();
110 if($com->getServerId() == $a_server_id)
112 if(in_array($a_mid, $com->getMids()))
114 return $com->getCommunityName();
128 $query =
'SELECT sid,cid FROM ecs_community ';
getCommunities()
Get communities.
lookupTitle($a_server_id, $a_mid)
Lookup community title.
__construct()
Singleton constructor.
static getInstance()
Singleton instance.
Create styles array
The data for the language used.
lookupOwnId($a_server_id, $a_mid)
Lookup own mid of the community of a mid.
+-----------------------------------------------------------------------——+ | ILIAS open source | +...