19declare(strict_types=1);
36 protected \ILIAS\Help\GuidedTour\Admin\AdminManager
$gd_admin;
37 protected \ILIAS\GlobalScreen\Helper\BasicAccessCheckClosures
$access;
43 $this->gd_admin =
$dic->
help()->internal()->domain()->guidedTour()->admin();
53 $screen_id_visible = $this->gd_admin->areIdentifiersVisible();
54 if (defined(
"OH_REF_ID") && (
int) OH_REF_ID > 0) {
55 $screen_id_visible =
true;
57 if (!$screen_id_visible) {
62 $i = fn(
string $id): IdentificationInterface => $this->
if->identifier(
$id);
65 $help_gui = $this->dic->help();
66 $mt = $this->dic->ui()->mainTemplate();
67 $help_gui->initHelp($mt,
"#");
68 $adn = $this->notification_factory->administrative($i(
"help_screen_id"))->withTitle(
"Screen ID:")->withSummary($help_gui->getScreenId());
69 $is_visible =
static fn(): bool =>
true;
70 $adns[] = $adn->withVisibilityCallable($is_visible);
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Customizing of pimple-DIC for ILIAS.
Class BasicAccessCheckClosuresSingleton.
Interface AbstractNotificationProvider.
getAdministrativeNotifications()
@inheritDoc
ILIAS GlobalScreen Helper BasicAccessCheckClosures $access
__construct(Container $dic)
@inheritDoc
ILIAS Help GuidedTour Admin AdminManager $gd_admin
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface IdentificationInterface.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
if(!file_exists('../ilias.ini.php'))