◆ getNamespace()
ILIAS\Refinery\Encode\Transformation\URL\CalendarStaticURLHandler::getNamespace |
( |
| ) |
|
◆ handle()
ILIAS\Refinery\Encode\Transformation\URL\CalendarStaticURLHandler::handle |
( |
Request |
$request, |
|
|
Context |
$context, |
|
|
Factory |
$response_factory |
|
) |
| |
Definition at line 55 of file CalendarStaticURLHandler.php.
57 $additional_params = $request->getAdditionalParameters()[0] ??
'';
58 $uri = match ($additional_params) {
59 self::BOOKINGS =>
$context->ctrl()->getLinkTargetByClass(
61 \ilDashboardGUI::class,
62 \ilCalendarPresentationGUI::class,
63 \ilConsultationHoursGUI::class
67 default =>
$context->ctrl()->getLinkTargetByClass(
69 \ilDashboardGUI::class
74 return $response_factory->can($uri);
◆ BOOKINGS
const ILIAS\Refinery\Encode\Transformation\URL\CalendarStaticURLHandler::BOOKINGS = 'bookings' |
|
private |
◆ CALENDAR_NAMESPACE
const ILIAS\Refinery\Encode\Transformation\URL\CalendarStaticURLHandler::CALENDAR_NAMESPACE = 'calendar' |
|
private |
The documentation for this class was generated from the following file: