◆ 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);
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 }
References $ini.
◆ getTentativePreconditions()
ilUtilitiesMetricsCollectedObjective::getTentativePreconditions |
( |
Setup\Environment |
$environment | ) |
|
|
protected |
The documentation for this class was generated from the following file: