21 xml_set_object($a_xml_parser,$this);
22 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
23 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
34 $this->table = $a_attribs[
'name'];
38 $this->values = array();
39 $this->num_values = -1;
45 $this->values[$this->num_values][
'name'] = $a_attribs[
'name'];
46 $this->values[$this->num_values][
'type'] = $a_attribs[
'type'];
66 foreach($this->values as $key =>
$data)
68 $val[
$data[
'name']] = array($data[
'type'],$data[
'val']);
70 $ilDB->insert($this->table,$val);
81 if($this->cdata != null)
83 $this->cdata .= $a_data;
87 $this->cdata = $a_data;