19 declare(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);
__construct(string $a_xml_data='')
Row Class for XMLResultSet.
ilXMLResultSet $xmlResultSet
handlerEndTag($a_xml_parser, string $a_name)
Handler for end of element.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setHandlers($a_xml_parser)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
handlerCharacterData($a_xml_parser, string $a_data)
Handler for character data.
ilXMLResultSetRow $currentRow
__construct(Container $dic, ilPlugin $plugin)
handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs)
setXMLContent(string $a_xml_content)