|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
What a {. More...
Collaboration diagram for ILIAS\StaticURL\Context:Public Member Functions | |
| __construct (private readonly GlobalHttpState $http, private readonly Factory $refinery, private readonly Access $access, private readonly URIBuilder $builder, private readonly UserProxy $user, private readonly RepositoryTreeProxy $tree, private readonly LanguageProxy $language, private readonly MainTemplateProxy $main_template, private readonly CtrlProxy $ctrl, private readonly SettingsProxy $settings,) | |
| getUserLanguage () | |
| refinery () | |
| lng () | |
| mainTemplate () | |
| http () | |
| ctrl () | |
| checkPermission (string $permission, int $ref_id) | |
| getParentRefId (int $ref_id) | |
| exists (int $ref_id) | |
| findFirstAccessibleParentRefId (int $ref_id, string $permission='read') | |
| getUserId () | |
| isUserLoggedIn () | |
| isPublicSectionActive () | |
| builder () | |
What a {.
Services that are wired through the component bootstrap are injected as themselves. Everything else still lives in the legacy container and is named by a dedicated proxy, so this class states its dependencies instead of holding a container that can produce anything.
Definition at line 43 of file Context.php.
| ILIAS\StaticURL\Context::__construct | ( | private readonly GlobalHttpState | $http, |
| private readonly Factory | $refinery, | ||
| private readonly Access | $access, | ||
| private readonly URIBuilder | $builder, | ||
| private readonly UserProxy | $user, | ||
| private readonly RepositoryTreeProxy | $tree, | ||
| private readonly LanguageProxy | $language, | ||
| private readonly MainTemplateProxy | $main_template, | ||
| private readonly CtrlProxy | $ctrl, | ||
| private readonly SettingsProxy | $settings | ||
| ) |
Definition at line 45 of file Context.php.
| ILIAS\StaticURL\Context::builder | ( | ) |
Definition at line 145 of file Context.php.
| ILIAS\StaticURL\Context::checkPermission | ( | string | $permission, |
| int | $ref_id | ||
| ) |
Definition at line 89 of file Context.php.
References ILIAS\Repository\access().
Referenced by ILIAS\StaticURL\Context\findFirstAccessibleParentRefId(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), and ILIAS\Export\ExportHandler\StaticUrlHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\StaticURL\Context::ctrl | ( | ) |
Definition at line 84 of file Context.php.
References ILIAS\StaticURL\Context\ctrl().
Referenced by ILIAS\User\StaticURLHandler\buildDeleteUsrUrl(), ILIAS\StaticURL\Context\ctrl(), ILIAS\Badge\URL\StaticUrlHandler\handle(), ILIAS\Calendar\URL\CalendarStaticURLHandler\handle(), ILIAS\Certificate\StaticUrlHandler\handle(), ILIAS\Contact\URL\StaticUrlHandler\handle(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), ILIAS\Export\ExportHandler\StaticUrlHandler\handle(), ILIAS\Init\URL\StaticUrlHandler\handle(), ILIAS\PersonalWorkspace\PermanentLink\StaticUrlHandler\handle(), ILIAS\Registration\URL\StaticUrlHandler\handle(), ILIAS\StaticURL\Handler\LegacyGotoHandler\handle(), ilKSDocumentationGotoLink\handle(), and ILIAS\User\StaticURLHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\StaticURL\Context::exists | ( | int | $ref_id | ) |
Definition at line 99 of file Context.php.
Referenced by ILIAS\Exercise\PermanentLink\StaticURLHandler\handle().
Here is the caller graph for this function:| ILIAS\StaticURL\Context::findFirstAccessibleParentRefId | ( | int | $ref_id, |
| string | $permission = 'read' |
||
| ) |
Definition at line 104 of file Context.php.
References ILIAS\StaticURL\Context\checkPermission().
Here is the call graph for this function:| ILIAS\StaticURL\Context::getParentRefId | ( | int | $ref_id | ) |
Definition at line 94 of file Context.php.
| ILIAS\StaticURL\Context::getUserId | ( | ) |
Definition at line 130 of file Context.php.
References ILIAS\Repository\user().
Referenced by ILIAS\Export\ExportHandler\StaticUrlHandler\handle(), and ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\StaticURL\Context::getUserLanguage | ( | ) |
Definition at line 59 of file Context.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ILIAS\StaticURL\Context::http | ( | ) |
Definition at line 79 of file Context.php.
References ILIAS\BookingManager\Common\Table\$http.
Referenced by ILIAS\StaticURL\Handler\HandlerService\appendUnknownParameters(), ilFileStaticURLHandler\handle(), and ILIAS\StaticURL\Shortlinks\Handler\handle().
Here is the caller graph for this function:| ILIAS\StaticURL\Context::isPublicSectionActive | ( | ) |
Definition at line 140 of file Context.php.
References ILIAS\Repository\settings().
Referenced by ILIAS\Export\ExportHandler\StaticUrlHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\StaticURL\Context::isUserLoggedIn | ( | ) |
Definition at line 135 of file Context.php.
References ILIAS\Repository\user().
Referenced by ILIAS\Badge\URL\StaticUrlHandler\handle(), ILIAS\Certificate\StaticUrlHandler\handle(), ILIAS\Contact\URL\StaticUrlHandler\handle(), ILIAS\Exercise\PermanentLink\StaticURLHandler\handle(), ILIAS\Export\ExportHandler\StaticUrlHandler\handle(), and ILIAS\User\StaticURLHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\StaticURL\Context::lng | ( | ) |
Definition at line 69 of file Context.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Here is the call graph for this function:| ILIAS\StaticURL\Context::mainTemplate | ( | ) |
Definition at line 74 of file Context.php.
References ILIAS\UICore\GlobalTemplate\get().
Here is the call graph for this function:| ILIAS\StaticURL\Context::refinery | ( | ) |
Definition at line 64 of file Context.php.
References ILIAS\UI\examples\Layout\Page\Mail\$refinery.
Referenced by ILIAS\StaticURL\Handler\HandlerService\appendUnknownParameters().
Here is the caller graph for this function: