ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
XML Writer for XMLResultSet. More...
Public Member Functions | |
__construct (&$xmlResultSet) | |
start () | |
getXML () | |
__appendRow (&$xmlResultSetRow) | |
__buildHeader () | |
__buildColSpecs () | |
__buildRows () | |
__buildFooter () | |
Public Member Functions inherited from ilXmlWriter | |
__construct ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor More... | |
_ilXmlWriter () | |
destructor public More... | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. More... | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. More... | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. More... | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. More... | |
xmlFormatData ($data) | |
Indents text for better reading. More... | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. More... | |
xmlHeader () | |
Writes xml header public. More... | |
xmlStartTag ($tag, $attrs=null, $empty=false, $encode=true, $escape=true) | |
Writes a starttag. More... | |
xmlEndTag ($tag) | |
Writes an endtag. More... | |
xmlComment ($comment) | |
Writes a comment. More... | |
xmlData ($data, $encode=true, $escape=true) | |
Writes data. More... | |
xmlElement ($tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
Writes a basic element (no children, just textual content) More... | |
xmlDumpFile ($file, $format=true) | |
Dumps xml document from memory into a file. More... | |
xmlDumpMem ($format=true) | |
Returns xml document from memory. More... | |
appendXML ($a_str) | |
append xml string to document More... | |
xmlClear () | |
clears xmlStr public More... | |
Data Fields | |
$xmlResultSet | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlWriter | |
static | _xmlEscapeData ($data) |
Escapes reserved characters. More... | |
XML Writer for XMLResultSet.
Definition at line 13 of file class.ilXMLResultSetWriter.php.
ilXMLResultSetWriter::__construct | ( | & | $xmlResultSet | ) |
ilXMLResultSetWriter::__appendRow | ( | & | $xmlResultSetRow | ) |
Definition at line 48 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by __buildRows().
ilXMLResultSetWriter::__buildColSpecs | ( | ) |
Definition at line 70 of file class.ilXMLResultSetWriter.php.
References array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::__buildFooter | ( | ) |
Definition at line 94 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
ilXMLResultSetWriter::__buildHeader | ( | ) |
Definition at line 60 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::__buildRows | ( | ) |
Definition at line 83 of file class.ilXMLResultSetWriter.php.
References $row, __appendRow(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::getXML | ( | ) |
Definition at line 41 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlDumpMem().
ilXMLResultSetWriter::start | ( | ) |
Definition at line 24 of file class.ilXMLResultSetWriter.php.
References __buildColSpecs(), __buildFooter(), __buildHeader(), and __buildRows().
ilXMLResultSetWriter::$xmlResultSet |
Definition at line 15 of file class.ilXMLResultSetWriter.php.
Referenced by __construct().