|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
XML writer for container structure. More...
Inheritance diagram for ilContainerXmlWriter:
Collaboration diagram for ilContainerXmlWriter:Public Member Functions | |
| __construct ($a_ref_id) | |
| Constructor. More... | |
| write () | |
| Write XML. More... | |
Public Member Functions inherited from ilXmlWriter | |
| ilXmlWriter ($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... | |
| _xmlEscapeData ($data) | |
| Escapes reserved characters. 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 | |
| writeSubitems ($a_ref_id) | |
| Write tree childs Recursive method. More... | |
| writeCourseItemInformation ($a_ref_id) | |
| Write course item information Starting time, ending time... More... | |
| buildHeader () | |
| Build XML header. More... | |
Protected Attributes | |
| $exp_options = null | |
Private Attributes | |
| $source = 0 | |
Additional Inherited Members | |
Data Fields inherited from ilXmlWriter | |
| $xmlStr | |
| $version | |
| $outEnc | |
| $inEnc | |
| $dtdDef = "" | |
| $stSheet = "" | |
| $genCmt = "Generated by ILIAS XmlWriter" | |
XML writer for container structure.
Definition at line 15 of file class.ilContainerXmlWriter.php.
| ilContainerXmlWriter::__construct | ( | $a_ref_id | ) |
Constructor.
Definition at line 23 of file class.ilContainerXmlWriter.php.
References ilExportOptions\getInstance().
Here is the call graph for this function:
|
protected |
Build XML header.
Definition at line 152 of file class.ilContainerXmlWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Here is the call graph for this function:| ilContainerXmlWriter::write | ( | ) |
Write XML.
| UnexpectedValueException | Thrown if obj_id is not of type webr or no obj_id is given |
Definition at line 36 of file class.ilContainerXmlWriter.php.
References writeSubitems(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
protected |
Write course item information Starting time, ending time...
| int | $a_ref_id |
Definition at line 100 of file class.ilContainerXmlWriter.php.
References ilObjectActivation\getItem(), IL_CAL_DATETIME, IL_CAL_UNIX, ilTimeZone\UTC, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by writeSubitems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Write tree childs Recursive method.
| object | $a_ref_id |
Definition at line 49 of file class.ilContainerXmlWriter.php.
References ilPageObject\_exists(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilExportOptions\EXPORT_OMIT, ilExportOptions\KEY_ITEM_MODE, ilObjStyleSheet\lookupObjectStyle(), writeCourseItemInformation(), writeSubitems(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by write(), and writeSubitems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 17 of file class.ilContainerXmlWriter.php.
|
private |
Definition at line 18 of file class.ilContainerXmlWriter.php.