ILIAS
release_4-3 Revision
|
XML Writer for XMLResultSet. More...
Public Member Functions | |
ilXMLResultSetWriter (&$xmlResultSet) | |
start () | |
getXML () | |
__appendRow (&$xmlResultSetRow) | |
__buildHeader () | |
__buildColSpecs () | |
__buildRows () | |
__buildFooter () | |
Public Member Functions inherited from ilXmlWriter | |
ilXmlWriter ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor | |
_ilXmlWriter () | |
destructor public | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. | |
_xmlEscapeData ($data) | |
Escapes reserved characters. | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. | |
xmlFormatData ($data) | |
Indents text for better reading. | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. | |
xmlHeader () | |
Writes xml header public. | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. | |
xmlEndTag ($tag) | |
Writes an endtag. | |
xmlComment ($comment) | |
Writes a comment. | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. | |
appendXML ($a_str) | |
append xml string to document | |
xmlClear () | |
clears xmlStr public |
Data Fields | |
$xmlResultSet | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" |
XML Writer for XMLResultSet.
Definition at line 13 of file class.ilXMLResultSetWriter.php.
ilXMLResultSetWriter::__appendRow | ( | & | $xmlResultSetRow | ) |
Definition at line 49 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by __buildRows().
ilXMLResultSetWriter::__buildColSpecs | ( | ) |
Definition at line 74 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::__buildFooter | ( | ) |
Definition at line 97 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
ilXMLResultSetWriter::__buildHeader | ( | ) |
Definition at line 64 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::__buildRows | ( | ) |
Definition at line 86 of file class.ilXMLResultSetWriter.php.
References $row, __appendRow(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilXMLResultSetWriter::getXML | ( | ) |
Definition at line 42 of file class.ilXMLResultSetWriter.php.
References ilXmlWriter\xmlDumpMem().
ilXMLResultSetWriter::ilXMLResultSetWriter | ( | & | $xmlResultSet | ) |
Definition at line 17 of file class.ilXMLResultSetWriter.php.
References $xmlResultSet, and ilXmlWriter\ilXmlWriter().
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 ilXMLResultSetWriter().