ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilUtilitiesMetricsCollectedObjective Class Reference
+ Inheritance diagram for ilUtilitiesMetricsCollectedObjective:
+ Collaboration diagram for ilUtilitiesMetricsCollectedObjective:

Protected Member Functions

 getTentativePreconditions (Setup\Environment $environment)
 
 collectFrom (Setup\Environment $environment, Setup\Metrics\Storage $storage)
 

Detailed Description

Member Function Documentation

◆ collectFrom()

ilUtilitiesMetricsCollectedObjective::collectFrom ( Setup\Environment  $environment,
Setup\Metrics\Storage  $storage 
)
protected

Definition at line 32 of file class.ilUtilitiesMetricsCollectedObjective.php.

32 : void
33 {
34 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
35 if (!$ini) {
36 return;
37 }
38
39 $storage->storeConfigText(
40 "path_to_convert",
41 $ini->readVariable("tools", "convert"),
42 "The path to the binary from imagemagick that is used to convert images."
43 );
44 $storage->storeConfigText(
45 "path_to_zip",
46 $ini->readVariable("tools", "zip"),
47 "The path to the binary that is used for zipping files."
48 );
49 $storage->storeConfigText(
50 "path_to_unzip",
51 $ini->readVariable("tools", "unzip"),
52 "The path to the binary that is used for unzipping files."
53 );
54 }
$ini
Definition: raiseError.php:20

References $ini.

◆ getTentativePreconditions()

ilUtilitiesMetricsCollectedObjective::getTentativePreconditions ( Setup\Environment  $environment)
protected

Definition at line 25 of file class.ilUtilitiesMetricsCollectedObjective.php.

25 : array
26 {
27 return [
29 ];
30 }

The documentation for this class was generated from the following file: