ILIAS
release_4-3 Revision
|
Public Member Functions | |
__construct ($a_tpl_id) | |
Constructor. | |
getSetting () | |
Get template setting. | |
write () | |
Write xml. | |
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 |
Private Attributes | |
$tpl = null |
Additional Inherited Members | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" |
Definition at line 12 of file class.ilDidacticTemplateXmlWriter.php.
ilDidacticTemplateXmlWriter::__construct | ( | $a_tpl_id | ) |
Constructor.
Definition at line 19 of file class.ilDidacticTemplateXmlWriter.php.
ilDidacticTemplateXmlWriter::getSetting | ( | ) |
Get template setting.
Definition at line 31 of file class.ilDidacticTemplateXmlWriter.php.
References $tpl.
Referenced by write().
ilDidacticTemplateXmlWriter::write | ( | ) |
Write xml.
Definition at line 39 of file class.ilDidacticTemplateXmlWriter.php.
References getSetting(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
|
private |
Definition at line 14 of file class.ilDidacticTemplateXmlWriter.php.
Referenced by getSetting().