◆ __construct()
◆ getHTML()
| ILIAS\AdministrativeNotification\Table::getHTML |
( |
| ) |
|
Definition at line 152 of file Table.php.
152 : string
153 {
154 return $this->ui_renderer->render($this->
components);
155 }
◆ getIdToken()
| ILIAS\AdministrativeNotification\Table::getIdToken |
( |
| ) |
|
◆ getURI()
| ILIAS\AdministrativeNotification\Table::getURI |
( |
string |
$command | ) |
|
|
protected |
◆ getUrlBuilder()
| ILIAS\AdministrativeNotification\Table::getUrlBuilder |
( |
| ) |
|
◆ initActions()
| ILIAS\AdministrativeNotification\Table::initActions |
( |
| ) |
|
|
protected |
Definition at line 108 of file Table.php.
108 : array
109 {
110 if ($this->write_access === false) {
111 return [];
112 }
113
114 return [
115 self::ACTION_EDIT => $this->ui_factory->table()->action()->single(
116 $this->
lng->txt(
"btn_edit"),
118 $this->id_token
119 ),
120 self::ACTION_DELETE => $this->ui_factory->table()->action()->standard(
121 $this->
lng->txt(
"btn_delete"),
123 $this->id_token
124 )->withAsync(true),
125 self::ACTION_RESET => $this->ui_factory->table()->action()->standard(
126 $this->
lng->txt(
"btn_reset"),
128 $this->id_token
129 ),
130 self::ACTION_DUPLICATE => $this->ui_factory->table()->action()->single(
131 $this->
lng->txt(
"btn_duplicate"),
133 $this->id_token
134 ),
135 ];
136 }
References ilADNNotificationGUI\CMD_CONFIRM_DELETE, ilADNNotificationGUI\CMD_DUPLICATE, ilADNNotificationGUI\CMD_EDIT, ilADNNotificationGUI\CMD_RESET, and ILIAS\Repository\lng().
Referenced by ILIAS\AdministrativeNotification\Table\__construct().
◆ initColumns()
| ILIAS\AdministrativeNotification\Table::initColumns |
( |
| ) |
|
|
protected |
Definition at line 94 of file Table.php.
94 : array
95 {
96 return [
97 'title' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_title')),
98 'type' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_type')),
99 'languages' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_languages')),
100 'type_during_event' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_type_during_event')),
101 'event_start' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_event_date_start')),
102 'event_end' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_event_date_end')),
103 'display_start' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_display_date_start')),
104 'display_end' => $this->ui_factory->table()->column()->text($this->
lng->txt(
'msg_display_date_end'))
105 ];
106 }
References ILIAS\Repository\lng().
Referenced by ILIAS\AdministrativeNotification\Table\__construct().
◆ initURIBuilder()
| ILIAS\AdministrativeNotification\Table::initURIBuilder |
( |
| ) |
|
|
private |
◆ $components
| array ILIAS\AdministrativeNotification\Table::$components = [] |
|
protected |
◆ $ctrl
◆ $id_token
◆ $lng
| ilLanguage ILIAS\AdministrativeNotification\Table::$lng |
|
private |
◆ $ui_factory
| Factory ILIAS\AdministrativeNotification\Table::$ui_factory |
|
private |
◆ $ui_renderer
| Renderer ILIAS\AdministrativeNotification\Table::$ui_renderer |
|
private |
◆ $url_builder
| URLBuilder ILIAS\AdministrativeNotification\Table::$url_builder |
|
private |
◆ $write_access
| bool ILIAS\AdministrativeNotification\Table::$write_access |
|
private |
◆ ACTION_DELETE
| const ILIAS\AdministrativeNotification\Table::ACTION_DELETE = 'delete' |
◆ ACTION_DUPLICATE
| const ILIAS\AdministrativeNotification\Table::ACTION_DUPLICATE = 'duplicate' |
◆ ACTION_EDIT
| const ILIAS\AdministrativeNotification\Table::ACTION_EDIT = 'edit' |
◆ ACTION_RESET
| const ILIAS\AdministrativeNotification\Table::ACTION_RESET = 'reset' |
The documentation for this class was generated from the following file:
- components/ILIAS/AdministrativeNotification/classes/Table.php