19 declare(strict_types=1);
    39         return hash(
"sha256", self::class . $this->plugin_name);
    47         return "Update plugin language $this->plugin_name.";
    64             new \ilIniFilesLoadedObjective(),
    65             new \ilDatabaseInitializedObjective(),
    76         $component_repository = $environment->
getResource(Setup\Environment::RESOURCE_COMPONENT_REPOSITORY);
    77         [$ORIG_DIC, $ORIG_ilDB] = $this->
initEnvironment($environment, $component_repository);
    79         $plugin = $component_repository->getPluginByName($this->plugin_name);
    81         $language_handler->updateLanguages();
    94         $component_repository = $environment->getResource(Setup\Environment::RESOURCE_COMPONENT_REPOSITORY);
    96         return $component_repository->getPluginByName($this->plugin_name)->supportsCLISetup();
   101         $db = $environment->getResource(Setup\Environment::RESOURCE_DATABASE);
   102         $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
   103         $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
   104         $component_factory = $environment->getResource(Setup\Environment::RESOURCE_COMPONENT_FACTORY);
   114         $GLOBALS[
"DIC"] = 
new DI\Container();
   118         $GLOBALS[
"DIC"][
"ilClientIniFile"] = $client_ini;
   124             public static function getRootLogger(): 
ilLogger   128             public static function getLogger(
string $a_component_id): 
ilLogger   136         $GLOBALS[
"DIC"][
"lng"]->lang_user = 
"en";
   148             public function raise($a_component, $a_event, $a_parameter = 
""): 
void   154         $GLOBALS[
"DIC"][
"component.repository"] = $component_repository;
   155         $GLOBALS[
"DIC"][
"component.factory"] = $component_factory;
   170                 $this->prefs[
"language"] = 
"en";
   174         if (!defined(
'DEBUG')) {
   175             define(
'DEBUG', 
false);
   178         if (!defined(
"ILIAS_ABSOLUTE_PATH")) {
   179             define(
"ILIAS_ABSOLUTE_PATH", dirname(__FILE__, 5));
   182         if (!defined(
'SYSTEM_ROLE_ID')) {
   183             define(
'SYSTEM_ROLE_ID', 
'2');
   186         if (!defined(
"CLIENT_ID")) {
   187             define(
'CLIENT_ID', $client_ini->readVariable(
'client', 
'name'));
   190         if (!defined(
"ILIAS_WEB_DIR")) {
   191             define(
'ILIAS_WEB_DIR', 
$ini->readVariable(
'clients', 
'path'));
   194         return [$ORIG_DIC, $ORIG_ilDB];
 
getPreconditions(Setup\Environment $environment)
 
Readable part of repository interface to ilComponentDataDB. 
 
isApplicable(Setup\Environment $environment)
 
language handling for setup 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
parses the objects.xml it handles the xml-description of all ilias objects 
 
__construct(string $plugin_name)
 
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g. 
 
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. 
 
initEnvironment(Setup\Environment $environment, \ilComponentRepository $component_repository)
 
Class ilRbacAdmin Core functions for role based access control. 
 
achieve(Setup\Environment $environment)