35 $this->tree =
$DIC->repositoryTree();
37 $this->source = $a_ref_id;
39 $this->objDefinition =
$DIC[
'objDefinition'];
62 if ($a_ref_id != $this->source) {
72 $atts[
'RefId'] = $a_ref_id;
73 $atts[
'Id'] = $obj_id;
79 if ($this->objDefinition->supportsOfflineHandling($atts[
'Type'])) {
107 'Type' => $item[
'timing_type'],
108 'Visible' => $item[
'visible'],
109 'Changeable' => $item[
'changeable'],
112 if ($item[
'timing_start']) {
116 if ($item[
'timing_end']) {
120 if ($item[
'suggestion_start']) {
124 if ($item[
'suggestion_end']) {
128 if ($item[
'earliest_start'] ??
false) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
writeSubitems(int $a_ref_id)
Write tree childs Recursive method.
writeCourseItemInformation(int $a_ref_id)
Write course item information Starting time, ending time...
ilExportOptions $exp_options
ilObjectDefinition $objDefinition
__construct(int $a_ref_id)
@classDescription Date and time handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static lookupObjectStyle(int $a_obj_id)
Lookup object style.
static getItem(int $ref_id)
parses the objects.xml it handles the xml-description of all ilias objects
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
static lookupOfflineStatus(int $obj_id)
Lookup offline status using objectDataCache.
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists.
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
getChilds(int $a_node_id, string $a_order="", string $a_direction="ASC")
get child nodes of given node
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
xmlSetGenCmt(string $genCmt)
Sets generated comment.
xmlElement(string $tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlHeader()
Writes xml header.
xmlEndTag(string $tag)
Writes an endtag.
xmlStartTag(string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true)
Writes a starttag.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc