46 $this->ui_factory = $DIC[
'ui.factory'];
47 $this->ui_renderer = $DIC[
'ui.renderer'];
48 $this->
ctrl = $DIC[
'ilCtrl'];
49 $this->
lng = $DIC[
'lng'];
56 $this->
components[] = $this->ui_factory->table()->data(
58 $this->
lng->txt(
'notifications'),
60 )->withActions($actions)->withRequest(
61 $DIC->http()->request()
72 $query_params_namespace = [
'msg',
'notifications'];
74 $query_params_namespace,
84 'title' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_title')),
85 'type' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_type')),
86 'languages' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_languages')),
87 'type_during_event' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_type_during_event')),
88 'event_start' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_event_date_start')),
89 'event_end' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_event_date_end')),
90 'display_start' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_display_date_start')),
91 'display_end' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_display_date_end'))
98 'edit' => $this->ui_factory->table()->action()->single(
99 $this->
lng->txt(
"btn_edit"),
103 'delete' => $this->ui_factory->table()->action()->standard(
104 $this->
lng->txt(
"btn_delete"),
108 'reset' => $this->ui_factory->table()->action()->standard(
109 $this->
lng->txt(
"btn_reset"),
113 'duplicate' => $this->ui_factory->table()->action()->single(
114 $this->
lng->txt(
"btn_duplicate"),
130 ILIAS_HTTP_PATH .
"/" . $this->
ctrl->getLinkTarget(
139 return $this->ui_renderer->render($this->
components);
Class ilADNNotificationGUI ilADNNotificationGUI: ilObjAdministrativeNotificationGUI ilADNNotificati...
URLBuilderToken $id_token
__construct(private \ilADNNotificationGUI $calling_gui,)
acquireParameters(array $namespace, string ... $names)
getURI(string $command)
Unfortunately, I have not yet found an easier way to generate this URI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...