19 declare(strict_types=1);
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);
51 case self::INTERNAL_RESSOURCE:
59 case self::EXTERNAL_RESSOURCE:
66 case LogoutDestinations::LOGOUT_SCREEN->value:
71 return LogoutDestinations::LOGOUT_SCREEN->asURI($this->
ctrl, $this->http_path);
97 return filter_var($url, FILTER_VALIDATE_URL) !==
false;
isInRepository(int $ref_id)
isAnonymousAccessible(int $ref_id)
isValidInternalResource(int $ref_id)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
static _isInTrash(int $ref_id)
isValidExternalResource(string $url)
__construct(private readonly ilCtrlInterface $ctrl, private readonly ilSetting $settings, private readonly ilAccessHandler $access, private readonly string $http_path=ILIAS_HTTP_PATH,)