19declare(strict_types=1);
54 public function handlerBeginTag($a_xml_parser,
string $a_name, array $a_attribs): void
65 $this->xmlResultSet->addColumn($a_attribs[
"name"]);
69 $this->xmlResultSet->addRow($this->currentRow);
70 $this->currentColumnIndex = 0;
85 $this->currentRow->setValue($this->currentColumnIndex, $this->cdata);
86 $this->currentColumnIndex++;
100 if ($a_data !==
"\n") {
102 $a_data = preg_replace(
"/\t+/",
" ", $a_data);
103 $this->cdata .= trim($a_data);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setXMLContent(string $a_xml_content)
ilXMLResultSetRow $currentRow
__construct(string $a_xml_data='')
setHandlers($a_xml_parser)
ilXMLResultSet $xmlResultSet
handlerCharacterData($a_xml_parser, string $a_data)
Handler for character data.
handlerEndTag($a_xml_parser, string $a_name)
Handler for end of element.
handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs)
Row Class for XMLResultSet.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc