|
ILIAS
trunk Revision v12.0_alpha-1329-g1094ddb0c33
|
Produces {. More...
Collaboration diagram for ILIAS\StaticURL\Response\Factory:Public Member Functions | |
| __construct (private Context $context) | |
| cannot () | |
| The Handler cannot process the given Request at all, e.g. More... | |
| cannotReach () | |
| The target exists, but the CURRENT user has no permission to reach it. More... | |
| loginFirst () | |
| Convenience: the Handler cannot serve the target with the current permissions. More... | |
| can (string $uri_path, bool $shift=false) | |
| The Handler successfully resolved the target. More... | |
Produces {.
Definition at line 31 of file Factory.php.
| ILIAS\StaticURL\Response\Factory::__construct | ( | private Context | $context | ) |
Definition at line 33 of file Factory.php.
| ILIAS\StaticURL\Response\Factory::can | ( | string | $uri_path, |
| bool | $shift = false |
||
| ) |
The Handler successfully resolved the target.
The HandlerService will redirect the user to the given URI path. Set $shift to true when the returned path is relative to the parent of the StaticURL base URI.
Definition at line 88 of file Factory.php.
Referenced by ILIAS\Authentication\StaticUrlHandler\handle(), ILIAS\Badge\URL\StaticUrlHandler\handle(), ILIAS\PermanentLink\StaticURLHandler\handle(), ILIAS\Calendar\URL\CalendarStaticURLHandler\handle(), ILIAS\Certificate\StaticUrlHandler\handle(), ILIAS\Contact\URL\StaticUrlHandler\handle(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), ilFileStaticURLHandler\handle(), ILIAS\StaticURL\Shortlinks\Handler\handle(), ilKSDocumentationGotoLink\handle(), and ILIAS\Test\StaticURLHandler\handle().
Here is the caller graph for this function:| ILIAS\StaticURL\Response\Factory::cannot | ( | ) |
The Handler cannot process the given Request at all, e.g.
because the Request is malformed or references an unknown sub-target. This is a programmer/contract-level signal; it does NOT mean that the current user merely lacks permission (use {
The HandlerService will respond with HTTP 404.
Definition at line 47 of file Factory.php.
Referenced by ILIAS\Badge\URL\StaticUrlHandler\handle(), ILIAS\PermanentLink\StaticURLHandler\handle(), ILIAS\Certificate\StaticUrlHandler\handle(), ILIAS\Contact\URL\StaticUrlHandler\handle(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), ilFileStaticURLHandler\handle(), ILIAS\StaticURL\Handler\LegacyGotoHandler\handle(), and ILIAS\StaticURL\Shortlinks\Handler\handle().
Here is the caller graph for this function:| ILIAS\StaticURL\Response\Factory::cannotReach | ( | ) |
The target exists, but the CURRENT user has no permission to reach it.
If the {
Definition at line 61 of file Factory.php.
Referenced by ILIAS\StaticURL\Response\Factory\loginFirst().
Here is the caller graph for this function:| ILIAS\StaticURL\Response\Factory::loginFirst | ( | ) |
Convenience: the Handler cannot serve the target with the current permissions.
If the user is ANONYMOUS, returns {
Definition at line 74 of file Factory.php.
References ILIAS\StaticURL\Response\Factory\cannotReach().
Referenced by ILIAS\Badge\URL\StaticUrlHandler\handle(), ILIAS\PermanentLink\StaticURLHandler\handle(), ILIAS\Certificate\StaticUrlHandler\handle(), ILIAS\Contact\URL\StaticUrlHandler\handle(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), and ilFileStaticURLHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function: