19declare(strict_types=1);
28use InvalidArgumentException;
41 private readonly
string $http_path = ILIAS_HTTP_PATH,
47 switch ($this->
settings->get(
'logout_behaviour',
'')) {
48 case LogoutDestinations::LOGIN_SCREEN->value:
49 return LogoutDestinations::LOGIN_SCREEN->asURI($this->
ctrl, $this->http_path);
66 case LogoutDestinations::LOGOUT_SCREEN->value:
71 return LogoutDestinations::LOGOUT_SCREEN->asURI($this->
ctrl, $this->http_path);
93 }
catch (InvalidArgumentException) {
97 return filter_var(
$url, FILTER_VALIDATE_URL) !==
false;
The scope of this class is split ilias-conform URI's into components.
isAnonymousAccessible(int $ref_id)
isValidInternalResource(int $ref_id)
__construct(private readonly ilCtrlInterface $ctrl, private readonly ilSetting $settings, private readonly ilAccessHandler $access, private readonly string $http_path=ILIAS_HTTP_PATH,)
const string EXTERNAL_RESSOURCE
isValidExternalResource(string $url)
isInRepository(int $ref_id)
const string INTERNAL_RESSOURCE
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
Class ilObject Basic functions for all objects.
static _isInTrash(int $ref_id)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...