24 require_once(
"./Services/Xml/classes/class.ilSaxParser.php");
25 require_once(
'./Services/User/classes/class.ilObjUser.php');
26 include_once(
'./Services/Calendar/classes/class.ilDateTime.php');
62 $this->parent_id = $a_parent_id;
92 xml_set_object($a_xml_parser,$this);
93 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
94 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
106 return is_object($this->cat) ? $this->cat->getRefId() :
false;
110 return is_object($this->cat) ? $this->cat->update() :
false;
132 $this->current_translation = array();
133 $this->current_translation[
'default'] = $a_attribs[
'default'] ? 1 : 0;
134 $this->current_translation[
'lang'] = $a_attribs[
'language'];
138 include_once
'./Services/Container/classes/class.ilContainerSortingSettings.php';
141 switch($a_attribs[
'type'])
171 $this->current_translation[
'title'] = trim($this->cdata);
173 if($this->current_translation[
'default'])
175 $this->
getCategory()->setTitle(trim($this->cdata));
181 $this->current_translation[
'description'] = trim($this->cdata);
183 if($this->current_translation[
'default'])
185 $this->
getCategory()->setDescription(trim($this->cdata));
193 (
string) $this->current_translation[
'title'],
194 (
string) $this->current_translation[
'description'],
195 (
string) $this->current_translation[
'lang'],
196 (
int) $this->current_translation[
'default']
209 #$a_data = str_replace("<","<",$a_data);
210 #$a_data = str_replace(">",">",$a_data);
214 $this->cdata .= $a_data;