ILIAS  release_8 Revision v8.24
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 31 of file class.ilFileSystemMetricsCollectedObjective.php.

31 : void
32 {
33 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
34 if ($ini) {
35 $storage->storeConfigText(
36 "data_dir",
37 $ini->readVariable("clients", "datadir"),
38 "Filesystem location where ILIAS stores data outside of direct web access."
39 );
40 }
41 }
storeConfigText(string $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)
protected
Returns
\ilIniFilesLoadedObjective[]

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

24 : array
25 {
26 return [
28 ];
29 }

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