19declare(strict_types=1);
45 private readonly UIFactory $ui_factory,
66 return $this->
access->canManageSettings($this->ref_id);
75 return $this->ui_factory->table()->action()->single(
78 ->withParameter($action_token, self::
ACTION_ID)
79 ->withParameter($action_type_token,
'edit'),
90 $this->
ctrl->setParameterByClass(
93 $this->
http->resolveRowParameter($row_id_token->getName())
95 $this->
ctrl->redirectByClass(ilBookingScheduleGUI::class,
'edit');
105 return $this->
access->canManageSettings($this->ref_id);
@phpstan-type ScheduleRecord array{booking_schedule_id: int, title: string, object_has_schedule: ?...
onExecute(URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token)
allowActionForRecord(mixed $record)
__construct(private readonly UIFactory $ui_factory, private readonly ilLanguage $lng, private readonly AccessManager $access, private readonly ilCtrlInterface $ctrl, private readonly HttpService $http, private readonly int $ref_id)
const string ACTION_LABEL
getTableAction(URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token)
Builds a Color from either hex- or rgb values.
@ilCtrl_Calls ilBookingScheduleGUI:
return['delivery_method'=> 'php',]
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...
readonly HttpService $http
static http()
Fetches the global http state from ILIAS.