3 declare(strict_types=1);
33 $this->error = $DIC[
"ilErr"];
60 xml_set_object($a_xml_parser, $this);
61 xml_set_element_handler($a_xml_parser,
'handlerBeginTag',
'handlerEndTag');
62 xml_set_character_data_handler($a_xml_parser,
'handlerCharacterData');
71 public function handlerBeginTag($a_xml_parser,
string $a_name, array $a_attribs): void
94 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Called ' . $a_name);
123 if ($a_data !==
"\n") {
125 $a_data = preg_replace(
"/\t+/",
" ", $a_data);
126 $this->cdata .= $a_data;
setThrowException(bool $throw_exception)
setHandlers($a_xml_parser)
startParsing()
stores xml data in array
handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs)
static _importContainerSortingSettings(array $attibs, int $obj_id)
sorting import for all container objects
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
handlerCharacterData($a_xml_parser, string $a_data)
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
__construct(ilObject $folder, string $xml)
XML parser for folder xml.
setFolder(ilObject $folder)
Error Handling & global info handling uses PEAR error class.
__construct(Container $dic, ilPlugin $plugin)
handlerEndTag($a_xml_parser, string $a_name)
setXMLContent(string $a_xml_content)
trimAndStrip(string $input)