12 new \ilSettingsFactoryExistsObjective()
18 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
23 $firstname =
new Setup\Metrics\Metric(
24 Setup\Metrics\Metric::STABILITY_CONFIG,
25 Setup\Metrics\Metric::TYPE_TEXT,
28 $lastname =
new Setup\Metrics\Metric(
29 Setup\Metrics\Metric::STABILITY_CONFIG,
30 Setup\Metrics\Metric::TYPE_TEXT,
33 $email =
new Setup\Metrics\Metric(
34 Setup\Metrics\Metric::STABILITY_CONFIG,
35 Setup\Metrics\Metric::TYPE_TEXT,
38 $contact =
new Setup\Metrics\Metric(
39 Setup\Metrics\Metric::STABILITY_CONFIG,
40 Setup\Metrics\Metric::TYPE_COLLECTION,
42 "firstname" => $firstname,
43 "lastname" => $lastname,
46 "Contact information for this installation." 48 $storage->store(
"contact", $contact);
getTentativePreconditions(Setup\Environment $environment)
collectFrom(Setup\Environment $environment, Setup\Metrics\Storage $storage)
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.