ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilFileSystemMetricsCollectedObjective Class Reference
+ Inheritance diagram for ilFileSystemMetricsCollectedObjective:
+ Collaboration diagram for ilFileSystemMetricsCollectedObjective:

Protected Member Functions

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

Detailed Description

Member Function Documentation

◆ collectFrom()

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

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

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

34  : void
35  {
36  $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
37  if ($ini) {
38  $storage->storeConfigText(
39  "data_dir",
40  $ini->readVariable("clients", "datadir"),
41  "Filesystem location where ILIAS stores data outside of direct web access."
42  );
43  }
44  }
storeConfigText(string $key, string $value, string $description=null)
$ini
Definition: raiseError.php:4
+ Here is the call graph for this function:

◆ getTentativePreconditions()

ilFileSystemMetricsCollectedObjective::getTentativePreconditions ( Setup\Environment  $environment)
protected
Returns
[]

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

27  : array
28  {
29  return [
31  ];
32  }

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