24 include_once 
'./Services/WebServices/ECS/classes/class.ilECSParticipantSetting.php';
 
   25 include_once 
'./Services/WebServices/ECS/classes/class.ilECSDataMappingSetting.php';
 
   63                 $GLOBALS[
'ilLog']->write(__METHOD__.
': Using deprecate call');
 
   76                 if(isset(self::$instances[$a_server_id]))
 
   78                         return self::$instances[$a_server_id];
 
   88         public static function delete($a_server_id)
 
   92                 $query = 
'DELETE from ecs_data_mapping '.
 
   93                         'WHERE sid = '.$ilDB->quote($a_server_id,
'integer');
 
  119                 return $this->mappings[$a_mapping_type];
 
  139                 return array_key_exists($a_key, (array) $this->mappings[$a_mapping_type]) ?
 
  140                         $this->mappings[$a_mapping_type][$a_key] :
 
  156                 $this->mappings = array();
 
  158                 $query = 
'SELECT * FROM ecs_data_mapping '.
 
  159                         'WHERE sid = '.$ilDB->quote($this->
getServer()->getServerId(),
'integer').
' ';
 
  163                         $this->mappings[
$row->mapping_type][
$row->ecs_field] = 
$row->advmd_id;