4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
5 include_once
'./Services/Export/classes/class.ilExportOptions.php';
32 $this->tree = $DIC->repositoryTree();
33 parent::__construct();
34 $this->source = $a_ref_id;
61 if ($a_ref_id != $this->source) {
70 include_once(
'./Services/Container/classes/class.ilContainerPage.php');
71 include_once(
'./Services/Container/classes/class.ilContainerStartObjectsPage.php');
72 include_once(
'./Services/Style/Content/classes/class.ilObjStyleSheet.php');
89 foreach (
$tree->getChilds($a_ref_id) as $node) {
106 include_once
'./Services/Object/classes/class.ilObjectActivation.php';
112 'Type' => $item[
'timing_type'],
113 'Visible' => $item[
'visible'],
114 'Changeable' => $item[
'changeable'],
117 if ($item[
'timing_start']) {
121 if ($item[
'timing_end']) {
125 if ($item[
'suggestion_start']) {
129 if ($item[
'suggestion_end']) {
133 if ($item[
'earliest_start']) {
147 $this->
xmlSetDtdDef(
"<!DOCTYPE Container PUBLIC \"-//ILIAS//DTD Container//EN\" \"" . ILIAS_HTTP_PATH .
"/xml/ilias_container_4_1.dtd\">");
static _exists($a_parent_type, $a_id, $a_lang="", $a_no_cache=false)
Checks whether page exists.
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
static getInstance()
Get singelton instance.
static getItem($a_ref_id)
Get item data.
writeSubitems($a_ref_id)
Write tree childs Recursive method.
static _lookupTitle($a_id)
lookup object title
static lookupObjectStyle($a_obj_id)
Lookup object style.
xmlEndTag($tag)
Writes an endtag.
writeCourseItemInformation($a_ref_id)
Write course item information Starting time, ending time...
static _lookupObjId($a_id)
xmlHeader()
Writes xml header public.
static _lookupType($a_id, $a_reference=false)
lookup object type
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
__construct($a_ref_id)
Constructor.
XML writer for container structure.
buildHeader()
Build XML header.