24 include_once(
"./setup/classes/class.ilObjDefReader.php");
51 xml_set_object($a_xml_parser,$this);
52 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
53 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
64 $ilDB->manipulate(
"DELETE FROM service_class");
86 $this->current_component = $this->type.
"/".
$this->name;
87 $ilDB->manipulateF(
"INSERT INTO il_component (type, name, id) ".
88 "VALUES (%s,%s,%s)", array(
"text",
"text",
"text"),
89 array($this->type, $this->name, $a_attribs[
"id"]));
93 $ilDB->manipulateF(
"INSERT INTO service_class (service, class, dir) ".
94 "VALUES (%s,%s,%s)", array(
"text",
"text",
"text"),
95 array($this->name, $a_attribs[
"name"], $a_attribs[
"dir"]));
126 $a_data = preg_replace(
"/\n/",
"",$a_data);
127 $a_data = preg_replace(
"/\t+/",
"",$a_data);
131 switch ($this->current_tag)