3 declare(strict_types=1);
36 $this->
access = $DIC->access();
44 $sess = new \ilObjSession($a_obj_id,
false);
45 return $sess->getPresentationTitleAppointmentPeriod();
54 $path = parent::getPathIds();
58 foreach (
$path as $path_item_ref_id) {
60 if ($session_container) {
61 $new_path[] = $session_container;
63 $new_path[] = $path_item_ref_id;
67 if (is_array($new_path) && count($new_path) > 0) {
68 unset($new_path[count($new_path) - 1]);
80 if ($access->
checkAccess(
'read',
'', $session_ref_id)) {
81 $accessible[$session_ref_id] = $unix_time;
92 foreach ($accessible as $session_ref_id => $unix_time) {
94 $last = $session_ref_id;
100 return (
int) $session_ref_id;
Creates a path for a start and endnode.
static _getAllReferences(int $id)
get all reference ids for object ID
static getEventsForItemOrderedByStartingTime(int $item_ref_id)
static _lookupTitle(int $obj_id)
static _after(ilDateTime $start, ilDateTime $end, string $a_compare_field='', string $a_tz='')
compare two dates and check start is after end This method does not consider tz offsets.
enableHideLeaf(bool $a_status)
Hide leaf node in path.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
buildTitle(int $a_obj_id)
__construct(Container $dic, ilPlugin $plugin)
static _equals(ilDateTime $start, ilDateTime $end, string $a_compare_field='', string $a_tz='')
Check if two date are equal.
checkAccess(string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
static _lookupType(int $id, bool $reference=false)
findSessionContainerForItem(int $item_ref_id)