24 include_once(
"./setup/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 $ilDB->manipulate(
"DELETE FROM module_class");
88 $this->current_component = $this->type.
"/".
$this->name;
89 $ilDB->manipulateF(
"INSERT INTO il_component (type, name, id) ".
90 "VALUES (%s,%s,%s)", array(
"text",
"text",
"text"),
91 array($this->type, $this->name, $a_attribs[
"id"]));
95 $ilDB->manipulateF(
"INSERT INTO module_class (module, class, dir) ".
96 "VALUES (%s,%s,%s)", array(
"text",
"text",
"text"),
97 array($this->name, $a_attribs[
"name"], $a_attribs[
"dir"]));
128 $a_data = preg_replace(
"/\n/",
"",$a_data);
129 $a_data = preg_replace(
"/\t+/",
"",$a_data);
133 switch ($this->current_tag)