4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
5 include_once
'./Services/Export/classes/class.ilExportOptions.php';
25 parent::__construct();
26 $this->source = $a_ref_id;
75 foreach($tree->getChilds($a_ref_id) as $node)
93 include_once
'./Services/Object/classes/class.ilObjectActivation.php';
99 'Type' => $item[
'timing_type'],
100 'Visible' => $item[
'visible'],
101 'Changeable'=> $item[
'changeable'],
104 if($item[
'timing_start'])
109 if($item[
'timing_end'])
114 if($item[
'suggestion_start'])
119 if($item[
'suggestion_end'])
124 if($item[
'earliest_start'])
129 if($item[
'latest_end'])
145 $this->
xmlSetDtdDef(
"<!DOCTYPE Container PUBLIC \"-//ILIAS//DTD Container//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_container_4_1.dtd\">");
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
static getInstance()
Get singelton instance.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
static getItem($a_ref_id)
Get item data.
writeSubitems($a_ref_id)
Write tree childs Recursive method.
xmlElement($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE)
Writes a basic element (no children, just textual content)
static _lookupTitle($a_id)
lookup object title
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
__construct($a_ref_id)
Constructor.
XML writer for container structure.
buildHeader()
Build XML header.