25     protected \ILIAS\BookingManager\InternalGUIService 
$gui;
    26     protected \ILIAS\BookingManager\InternalDomainService 
$domain;
    27     protected \ILIAS\BookingManager\Access\AccessManager 
$access;
    38         $this->
ctrl = $DIC->ctrl();
    39         $this->
lng = $DIC->language();
    40         $this->
access = $DIC->bookingManager()->internal()->domain()->access();
    41         $this->obj_data_cache = $DIC[
"ilObjDataCache"];
    42         $ilCtrl = $DIC->ctrl();
    43         $ilObjDataCache = $DIC[
"ilObjDataCache"];
    45         $this->ref_id = $a_ref_id;
    55         $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
    56         $this->
setRowTemplate(
"tpl.booking_schedule_row.html", 
"components/ILIAS/BookingManager");
    66         $this->
getItems($ilObjDataCache->lookupObjId($this->ref_id));
    75         $data = $this->domain->schedules($a_pool_id)->getScheduleData();
    81     protected function fillRow(array $a_set): void
    85         $ui_factory = $this->gui->ui()->factory();
    86         $ui_renderer = $this->gui->ui()->renderer();
    88         $this->tpl->setVariable(
"TXT_TITLE", $a_set[
"title"]);
    90         if ($a_set[
"is_used"]) {
    91             $this->tpl->setVariable(
"TXT_IS_USED", 
$lng->
txt(
"yes"));
    93             $this->tpl->setVariable(
"TXT_IS_USED", 
$lng->
txt(
"no"));
    96         $ilCtrl->
setParameter($this->parent_obj, 
'schedule_id', $a_set[
'booking_schedule_id']);
   100         if ($this->
access->canManageSettings($this->ref_id)) {
   101             $actions[] = $ui_factory->link()->standard(
   103                 $ilCtrl->getLinkTarget($this->parent_obj, 
'edit')
   106             if (!$a_set[
"is_used"]) {
   107                 $actions[] = $ui_factory->link()->standard(
   109                     $ilCtrl->getLinkTarget($this->parent_obj, 
'confirmDelete')
   114         if (count($actions) > 0) {
   115             $dd = $ui_factory->dropdown()->standard($actions);
   116             $this->tpl->setVariable(
"LAYER", $ui_renderer->render($dd));
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS BookingManager InternalDomainService $domain
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
getItems(int $a_pool_id)
Build summary item rows for given object and filter(s) 
 
ILIAS BookingManager Access AccessManager $access
 
__construct(object $a_parent_obj, string $a_parent_cmd, int $a_ref_id)
 
__construct(Container $dic, ilPlugin $plugin)
 
ilObjectDataCache $obj_data_cache
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
 
ILIAS BookingManager InternalGUIService $gui
 
setEnableHeader(bool $a_enableheader)
 
setMaxCount(int $a_max_count)
set max.