24 include_once
'./Services/WebServices/ECS/classes/class.ilECSCommunityCache.php';
54 if(isset(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 ';