| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
XML writer for container structure. More...
 Inheritance diagram for ilContainerXmlWriter:
 Inheritance diagram for ilContainerXmlWriter: Collaboration diagram for ilContainerXmlWriter:
 Collaboration diagram for ilContainerXmlWriter:| Public Member Functions | |
| __construct ($a_ref_id) | |
| Constructor. | |
| 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 | |
| Protected Member Functions | |
| writeSubitems ($a_ref_id) | |
| Write tree childs Recursive method. | |
| writeCourseItemInformation ($a_ref_id) | |
| Write course item information Starting time, ending time... | |
| buildHeader () | |
| Build XML header. | |
| 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:
 Here is the call graph for this function:| 
 | protected | 
Build XML header.
Definition at line 143 of file class.ilContainerXmlWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
 Here is the call graph for this function:
 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:
 Here is the call graph for this function:| 
 | protected | 
Write course item information Starting time, ending time...
| int | $a_ref_id | 
Definition at line 91 of file class.ilContainerXmlWriter.php.
References ilCourseItems\_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 call graph for this function: Here is the caller 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 51 of file class.ilContainerXmlWriter.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilExportOptions\EXPORT_OMIT, ilExportOptions\KEY_ITEM_MODE, writeCourseItemInformation(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by write().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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.