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.ilAdvancedMDValue.php');
53 $this->obj_id = $a_new_obj_id;
65 $this->obj_id = $a_obj_id;
75 foreach($this->values as $value)
77 $value->setObjId($this->obj_id);
96 case 'AdvancedMetaData':
97 $this->values = array();
119 case 'AdvancedMetaData':
123 if(is_object($this->current_value))
125 $this->current_value->setValue(trim($this->cdata));
144 $a_data = preg_replace(
"/\t+/",
" ",$a_data);
146 $this->cdata .= $a_data;
166 $this->current_value = null;
__construct($a_new_obj_id=0)
Constructor.
initValue($a_import_id)
init new value object
setObjId($a_obj_id)
Set object id (id of new created object)
save()
Save values public.
static _lookupFieldId($a_import_id)
Lookup field id.
Interface definition for sax subset parsers.
handlerCharacterData($a_xml_parser, $a_data)
Character data handler.
handlerBeginTag($a_xml_parser, $a_name, $a_attribs)
Start element handler.
handlerEndTag($a_xml_parser, $a_name)
End element handler.