4include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
5include_once
'./Services/Export/classes/class.ilExportOptions.php';
37 $this->tree =
$DIC->repositoryTree();
39 $this->source = $a_ref_id;
41 $this->objDefinition =
$DIC[
'objDefinition'];
67 if ($a_ref_id != $this->source) {
77 $atts[
'RefId'] = $a_ref_id;
78 $atts[
'Id'] = $obj_id;
84 if ($this->objDefinition->supportsOfflineHandling($atts[
'Type'])) {
93 foreach (
$tree->getChilds($a_ref_id) as $node) {
110 include_once
'./Services/Object/classes/class.ilObjectActivation.php';
116 'Type' => $item[
'timing_type'],
117 'Visible' => $item[
'visible'],
118 'Changeable' => $item[
'changeable'],
121 if ($item[
'timing_start']) {
125 if ($item[
'timing_end']) {
129 if ($item[
'suggestion_start']) {
133 if ($item[
'suggestion_end']) {
137 if ($item[
'earliest_start']) {
151 $this->
xmlSetDtdDef(
"<!DOCTYPE Container PUBLIC \"-//ILIAS//DTD Container//EN\" \"" . ILIAS_HTTP_PATH .
"/xml/ilias_container_4_1.dtd\">");
An exception for terminatinating execution or to throw for unit testing.
XML writer for container structure.
buildHeader()
Build XML header.
writeSubitems($a_ref_id)
Write tree childs Recursive method.
__construct($a_ref_id)
Constructor.
writeCourseItemInformation($a_ref_id)
Write course item information Starting time, ending time...
@classDescription Date and time handling
static getInstance()
Get singelton instance.
static lookupObjectStyle($a_obj_id)
Lookup object style.
static getItem($a_ref_id)
Get item data.
static _lookupObjId($a_id)
static _lookupTitle($a_id)
lookup object title
static lookupOfflineStatus($a_obj_id)
Lookup offline status using objectDataCache.
static _lookupType($a_id, $a_reference=false)
lookup object type
static _exists($a_parent_type, $a_id, $a_lang="", $a_no_cache=false)
Checks whether page exists.
xmlEndTag($tag)
Writes an endtag.
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlHeader()
Writes xml header @access public.
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc