|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
XML writer for folders. More...
Inheritance diagram for ilFolderXmlWriter:
Collaboration diagram for ilFolderXmlWriter:Public Member Functions | |
| __construct ($a_add_header) | |
| Constructor. More... | |
| setObjId ($a_obj_id) | |
| Set obj_id of weblink object. More... | |
| write () | |
| Write XML. More... | |
Public Member Functions inherited from ilXmlWriter | |
| __construct ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
| constructor More... | |
| _ilXmlWriter () | |
| destructor @access 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 @access 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 @access public More... | |
Protected Member Functions | |
| buildHeader () | |
| Build XML header. More... | |
| init () | |
| Init xml writer. More... | |
Private Attributes | |
| $add_header = true | |
| $obj_id = 0 | |
| $folder = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlWriter | |
| static | _xmlEscapeData ($data) |
| Escapes reserved characters. More... | |
Data Fields inherited from ilXmlWriter | |
| $xmlStr | |
| $version | |
| $outEnc | |
| $inEnc | |
| $dtdDef = "" | |
| $stSheet = "" | |
| $genCmt = "Generated by ILIAS XmlWriter" | |
| ilFolderXmlWriter::__construct | ( | $a_add_header | ) |
Constructor.
Definition at line 24 of file class.ilFolderXmlWriter.php.
|
protected |
Build XML header.
Definition at line 63 of file class.ilFolderXmlWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init xml writer.
| UnexpectedValueException | Thrown if obj_id is not of type webr |
Definition at line 78 of file class.ilFolderXmlWriter.php.
References ilObjectFactory\getInstanceByObjId(), and ilXmlWriter\xmlClear().
Referenced by write().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFolderXmlWriter::setObjId | ( | $a_obj_id | ) |
Set obj_id of weblink object.
| int | obj_id |
Definition at line 35 of file class.ilFolderXmlWriter.php.
| ilFolderXmlWriter::write | ( | ) |
Write XML.
| UnexpectedValueException | Thrown if obj_id is not of type webr or no obj_id is given |
Definition at line 45 of file class.ilFolderXmlWriter.php.
References ilContainerSortingSettings\_exportContainerSortingSettings(), buildHeader(), init(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
private |
Definition at line 16 of file class.ilFolderXmlWriter.php.
|
private |
Definition at line 19 of file class.ilFolderXmlWriter.php.
|
private |
Definition at line 18 of file class.ilFolderXmlWriter.php.