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