19declare(strict_types=1);
44 protected UIFactory $ui_factory,
56 $this->
lng->txt(
'type')
57 )->withIsSortable(
true);
59 $this->
lng->txt(
'title')
60 )->withIsSortable(
true);
64 $this->
lng->txt(
'settings'),
65 $url_builder->
withParameter($action_token, self::ACTION_EDIT),
69 $this->
lng->txt(
'cal_import_appointments'),
70 $url_builder->
withParameter($action_token, self::ACTION_IMPORT),
74 $this->
lng->txt(
'cal_share'),
75 $url_builder->
withParameter($action_token, self::ACTION_SHARE),
79 $this->
lng->txt(
'cal_cal_synchronize'),
80 $url_builder->
withParameter($action_token, self::ACTION_SYNCHRONIZE),
84 $this->
lng->txt(
'delete'),
85 $url_builder->
withParameter($action_token, self::ACTION_DELETE),
89 return $this->ui_factory->table()->data(
90 $this->data_retrieval,
91 $this->
lng->txt(
'cal_manage'),
93 )->withActions($actions)->withRequest($this->
http->request())->withId(
'calmng');
const string ACTION_IMPORT
const string TITLE_COLUMN
const string ACTION_DELETE
__construct(protected DataRetrieval $data_retrieval, protected ilLanguage $lng, protected UIFactory $ui_factory, protected HTTP $http)
const string ACTION_SHARE
const string ACTION_SYNCHRONIZE
Builds a Color from either hex- or rgb values.
withParameter(URLBuilderToken $token, string|array $value)
Change an acquired parameter's value if the supplied token is valid.
This describes a Data Table.
readonly HttpService $http
static http()
Fetches the global http state from ILIAS.