19declare(strict_types=1);
41 protected UIFactory $ui_factory,
53 $this->
lng->txt(
'name')
54 )->withIsSortable(
true);
56 $this->
lng->txt(
'login')
57 )->withIsSortable(
true);
61 $this->
lng->txt(
'cal_share_cal'),
62 $url_builder->
withParameter($action_token, self::SHARE_READ_ONLY_ACTION),
66 $this->
lng->txt(
'cal_share_cal_editable'),
67 $url_builder->
withParameter($action_token, self::SHARE_EDITABLE_ACTION),
72 return $this->ui_factory->table()->data(
73 $this->data_retrieval,
74 $this->
lng->txt(
'cal_share_search_usr_header'),
76 )->withActions($actions)->withRequest($this->
http->request());
const string SHARE_READ_ONLY_ACTION
const string LOGIN_COLUMN
__construct(protected UserDataRetrieval $data_retrieval, protected ilLanguage $lng, protected UIFactory $ui_factory, protected HTTP $http)
const string SHARE_EDITABLE_ACTION
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.