74 return $this->mappings ? $this->mappings : array();
86 if(!is_array($a_mappings))
90 $this->mappings = array();
91 foreach($a_mappings as
$key => $field_id)
93 $this->mappings[
$key] = (int) $field_id;
108 return isset($this->mappings[$a_key]) ? $this->mappings[$a_key] : 0;
119 $this->storage->set(
'mappings',addslashes(serialize($this->mappings)));
129 include_once(
'./Services/Administration/classes/class.ilSetting.php');
130 $this->storage =
new ilSetting(
'ecs_mappings');
141 $mappings = $this->storage->get(
'mappings');
144 $this->mappings = unserialize(stripslashes(
$mappings));