33 include_once(
'Services/Utilities/interfaces/interface.ilSaxSubsetParser.php');
34 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDFieldDefinition.php');
35 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php');
54 $this->obj_id = $a_new_obj_id;
66 $this->obj_id = $a_obj_id;
76 foreach($this->values_records as $values_record)
78 $values_record->write();
96 case 'AdvancedMetaData':
98 foreach($this->values_records as $values_record)
101 $values_record->getADTGroup();
103 foreach($values_record->getDefinitions() as $def)
105 $this->values[$def->getImportId()] = $def;
129 case 'AdvancedMetaData':
133 $value = trim($this->cdata);
134 if(is_object($this->current_value) && $value)
136 $this->current_value->importValueFromXML($value);
155 $a_data = preg_replace(
"/\t+/",
" ",$a_data);
157 $this->cdata .= $a_data;
170 if(isset($this->values[$a_import_id]))
172 $this->current_value = $this->values[$a_import_id];
176 $this->current_value = null;