11 return hash(
"sha256", self::class);
16 return "A NIC key for the installation is generated and stored";
27 new \ilSettingsFactoryExistsObjective()
33 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
34 $settings =
$factory->settingsFor(
"common");
37 $settings->set(
"nic_key", $nic_key);
47 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
48 $settings =
$factory->settingsFor(
"common");
50 return !(bool) $settings->get(
"nic_key");
55 return md5(uniqid($this->getClientId(),
true));
achieve(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isApplicable(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
An environment holds resources to be used in the setup process.