1 <?php declare(strict_types=1);
31 $this->
xmlSetDtdDef(
"<!DOCTYPE result PUBLIC \"-//ILIAS//DTD XMLResultSet//EN\" \"" . ILIAS_HTTP_PATH .
"/xml/ilias_xml_resultset_3_7.dtd\">");
39 foreach ($this->xmlResultSet->getColSpecs() as $colSpec) {
40 $attr = array(
"idx" => $colSpec->getIndex(),
"name" => $colSpec->getName());
50 foreach ($this->xmlResultSet->getRows() as $row) {
59 foreach ($xmlResultSetRow->
getColumns() as $value) {
XML Writer for XMLResultSet.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Row Class for XMLResultSet.
__construct(ilXMLResultSet $xmlResultSet)
xmlEndTag(string $tag)
Writes an endtag.
appendRow(ilXMLResultSetRow $xmlResultSetRow)
xmlSetDtdDef(string $dtdDef)
Sets dtd definition.
xmlHeader()
Writes xml header.
ilXMLResultSet $xmlResultSet
__construct(Container $dic, ilPlugin $plugin)
xmlStartTag(string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true)
Writes a starttag.
xmlElement(string $tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlDumpMem(bool $format=true)
Returns xml document from memory.