5 include_once
'./Services/Xml/classes/class.ilSaxParser.php';
32 $this->error = $DIC[
"ilErr"];
33 parent::__construct();
79 xml_set_object($a_xml_parser, $this);
80 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
81 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
103 include_once
'./Services/Container/classes/class.ilContainerSortingSettings.php';
123 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Called ' . $a_name);
132 $this->
getFolder()->setTitle(trim($this->cdata));
136 $this->
getFolder()->setDescription(trim($this->cdata));
155 if ($a_data !=
"\n") {
157 $a_data = preg_replace(
"/\t+/",
" ", $a_data);
158 $this->cdata .= $a_data;
setHandlers($a_xml_parser)
set event handlers
startParsing()
stores xml data in array
handlerEndTag($a_xml_parser, $a_name)
handler for end of element
static _importContainerSortingSettings($attibs, $obj_id)
sorting import for all container objects
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
getFolder()
Get folder object.
setThrowException($throwException)
set error handling
Base class for sax-based expat parsing extended classes need to overwrite the method setHandlers and ...
__construct($folder, $xml)
Constructor.
handlerCharacterData($a_xml_parser, $a_data)
handler for character data
XML parser for folder xml.
setFolder(ilObject $folder)
set weblink
setXMLContent($a_xml_content)
handlerBeginTag($a_xml_parser, $a_name, $a_attribs)
handler for begin of element