24 include_once(
"./classes/class.ilObjDefReader.php");
50 xml_set_object($a_xml_parser,$this);
51 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
52 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
66 $q =
"DELETE FROM module_class";
88 $this->current_module = $this->name;
89 $this->current_component = $this->type.
"/".$this->name;
90 $q =
"INSERT INTO il_component (type, name, id) VALUES ".
91 "(".$ilDB->quote($this->type).
",".
92 $ilDB->quote($this->name).
",".
93 $ilDB->quote($a_attribs[
"id"]).
")";
98 $q =
"INSERT INTO module_class (module, class, dir) VALUES ".
99 "(".$ilDB->quote($this->name).
",".
100 $ilDB->quote($a_attribs[
"name"]).
",".
101 $ilDB->quote($a_attribs[
"dir"]).
")";
133 $a_data = preg_replace(
"/\n/",
"",$a_data);
134 $a_data = preg_replace(
"/\t+/",
"",$a_data);
138 switch ($this->current_tag)