19declare(strict_types=1);
42 protected UIFactory $ui_factory,
54 $this->
lng->txt(
'type')
55 )->withIsSortable(
true);
57 $this->
lng->txt(
'title')
58 )->withIsSortable(
true);
60 $this->
lng->txt(
'description')
61 )->withIsSortable(
false);
63 $this->
lng->txt(
'cal_shared_access_table_col')
64 )->withIsSortable(
true);
68 $this->
lng->txt(
'cal_unshare_cal'),
69 $url_builder->
withParameter($action_token, self::DEASSIGN_ACTION),
73 return $this->ui_factory->table()->data(
74 $this->data_retrieval,
75 $this->
lng->txt(
'cal_cal_shared_with'),
77 )->withActions($actions)->withRequest($this->
http->request());
const string DEASSIGN_ACTION
const string TITLE_COLUMN
__construct(protected DataRetrieval $data_retrieval, protected ilLanguage $lng, protected UIFactory $ui_factory, protected HTTP $http)
const string WRITABLE_COLUMN
const string DESCRIPTION_COLUMN
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.