24 include_once(
"./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 $q =
"DELETE FROM service_class";;
87 $this->current_service = $this->name;
88 $this->current_component = $this->type.
"/".$this->name;
89 $q =
"INSERT INTO il_component (type, name, id) VALUES ".
90 "(".$ilDB->quote($this->type).
",".
91 $ilDB->quote($this->name).
",".
92 $ilDB->quote($a_attribs[
"id"]).
")";
97 $q =
"INSERT INTO service_class (service, class, dir) VALUES ".
98 "(".$ilDB->quote($this->name).
",".
99 $ilDB->quote($a_attribs[
"name"]).
",".
100 $ilDB->quote($a_attribs[
"dir"]).
")";
132 $a_data = preg_replace(
"/\n/",
"",$a_data);
133 $a_data = preg_replace(
"/\t+/",
"",$a_data);
137 switch ($this->current_tag)