ILIAS  release_7 Revision v7.30-3-g800a261c036
ilFileSystemMetricsCollectedObjective Class Reference
+ Inheritance diagram for ilFileSystemMetricsCollectedObjective:
+ Collaboration diagram for ilFileSystemMetricsCollectedObjective:

Public Member Functions

 getTentativePreconditions (Setup\Environment $environment)
 

Protected Member Functions

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

Detailed Description

Member Function Documentation

◆ collectFrom()

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

Definition at line 17 of file class.ilFileSystemMetricsCollectedObjective.php.

17 : void
18 {
19 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
20 if ($ini) {
21 $storage->storeConfigText(
22 "data_dir",
23 $ini->readVariable("clients", "datadir"),
24 "Filesystem location where ILIAS stores data outside of direct web access."
25 );
26 }
27 }
storeConfigText($key, string $value, string $description=null)
$ini
Definition: raiseError.php:4

References $ini, and ILIAS\Setup\Metrics\Storage\storeConfigText().

+ Here is the call graph for this function:

◆ getTentativePreconditions()

ilFileSystemMetricsCollectedObjective::getTentativePreconditions ( Setup\Environment  $environment)

Definition at line 10 of file class.ilFileSystemMetricsCollectedObjective.php.

10 : array
11 {
12 return [
14 ];
15 }

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