1 <?php declare(strict_types=1);
13 return hash(
"sha256", self::class);
21 return "ilPluginAdmin is initialized and stored into the environment.";
37 if (!$environment->hasConfigFor(
'language')) {
41 $config = $environment->getConfigFor(
'language');
57 $GLOBALS[
"DIC"] =
new DI\Container();
58 $GLOBALS[
"DIC"][
"lng"] =
new class() {
59 public function loadLanguageModule()
64 $environment = $environment->withResource(
65 Setup\Environment::RESOURCE_PLUGIN_ADMIN,
79 return is_null($environment->getResource(Setup\Environment::RESOURCE_PLUGIN_ADMIN));
getPreconditions(Setup\Environment $environment)
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...
Administration class for plugins.
isApplicable(Setup\Environment $environment)
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
achieve(Setup\Environment $environment)