19 declare(strict_types=1);
27 return hash(
"sha256", self::class);
32 return "Store default installation id.";
43 new \ilSettingsFactoryExistsObjective()
49 $factory = $environment->
getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
50 $settings = $factory->settingsFor(
"common");
52 $settings->set(
"inst_id",
"0");
62 $factory = $environment->getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
63 $settings = $factory->settingsFor(
"common");
65 return !(bool) $settings->get(
"inst_id");
isApplicable(Setup\Environment $environment)
achieve(Setup\Environment $environment)
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.
getPreconditions(Setup\Environment $environment)