3 declare(strict_types=1);
    37         xml_set_object($a_xml_parser, $this);
    38         xml_set_element_handler($a_xml_parser, 
'handlerBeginTag', 
'handlerEndTag');
    39         xml_set_character_data_handler($a_xml_parser, 
'handlerCharacterData');
    48     public function handlerBeginTag($a_xml_parser, 
string $a_name, array $a_attribs): void
    59                 $this->xmlResultSet->addColumn($a_attribs[
"name"]);
    63                 $this->xmlResultSet->addRow($this->currentRow);
    64                 $this->currentColumnIndex = 0;
    79                 $this->currentRow->setValue($this->currentColumnIndex, $this->cdata);
    80                 $this->currentColumnIndex++;
    94         if ($a_data !== 
"\n") {
    96             $a_data = preg_replace(
"/\t+/", 
" ", $a_data);
    97             $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)
 
handlerCharacterData($a_xml_parser, string $a_data)
Handler for character data. 
 
ilXMLResultSetRow $currentRow
 
handlerBeginTag($a_xml_parser, string $a_name, array $a_attribs)
 
setXMLContent(string $a_xml_content)