ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilStyleMetricsCollectedObjective.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\Setup;
20
22{
23 public function getTentativePreconditions(Setup\Environment $environment): array
24 {
25 return [
27 ];
28 }
29
30 public function collectFrom(Setup\Environment $environment, Setup\Metrics\Storage $storage): void
31 {
32 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
33 if (!$ini) {
34 return;
35 }
36
37 $storage->storeConfigBool(
38 "manage_system_styles",
39 $ini->readVariable("tools", "enable_system_styles_management"),
40 "Can users manage system styles from within the installation?"
41 );
42 $storage->storeConfigText(
43 "path_to_scss",
44 $ini->readVariable("tools", "scss"),
45 "The path to the binary that is used for compiling scss."
46 );
47 }
48}
getTentativePreconditions(Setup\Environment $environment)
collectFrom(Setup\Environment $environment, Setup\Metrics\Storage $storage)
An environment holds resources to be used in the setup process.
Definition: Environment.php:28
Storage is simple key/value store without further schema definition.
Definition: Storage.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$ini
Definition: raiseError.php:20