1<?
php declare(strict_types=1);
32 return hash(
"sha256", self::class);
40 return "ilCtrl-structure is read and stored.";
57 new \ilDatabaseInitializedObjective()
66 $db = $environment->
getResource(Setup\Environment::RESOURCE_DATABASE);
71 if (!defined(
"ILIAS_ABSOLUTE_PATH")) {
72 define(
"ILIAS_ABSOLUTE_PATH", dirname(__FILE__, 5));
83 $reader = $this->ctrl_reader->withDB($db);
84 $reader->executed =
false;
85 $reader->readStructure(
true);
97 $db = $environment->getResource(Setup\Environment::RESOURCE_DATABASE);
102 if (!defined(
"ILIAS_ABSOLUTE_PATH")) {
103 define(
"ILIAS_ABSOLUTE_PATH", dirname(__FILE__, 5));
106 $reader = $this->ctrl_reader->withDB($db);
108 return !$reader->executed;
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
An exception for terminatinating execution or to throw for unit testing.
Customizing of pimple-DIC for ILIAS.
Signals that some goal won't be achievable by actions of the system ever.
Class ilCtrlStructureReader.
isApplicable(Setup\Environment $environment)
@inheritDoc
__construct(\ilCtrlStructureReader $ctrl_reader, bool $populate_before=true)
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
An objective is a desired state of the system that is supposed to be created by the setup.
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...