36 return $this->container->user()->getCurrentLanguage();
41 return $this->container->refinery();
46 return $this->container->language();
51 return $this->container->ui()->mainTemplate();
56 return $this->container->http();
61 return $this->container->ctrl();
66 return $this->container->access()->checkAccess($permission,
'',
$ref_id);
71 return $this->container->repositoryTree()->getParentId(
$ref_id);
76 return $this->container->repositoryTree()->isInTree(
$ref_id);
81 return $this->container->user()->getId();
86 return !$this->container->user()->isAnonymous() && $this->container->user()->getId() !== 0;
91 return (
bool) ($this->container->settings()->get(
'pub_section') ??
false);
Customizing of pimple-DIC for ILIAS.
Builds a Color from either hex- or rgb values.
__construct(private Container $container)
checkPermission(string $permission, int $ref_id)
getParentRefId(int $ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...