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

Protected Member Functions

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

Detailed Description

Member Function Documentation

◆ collectFrom()

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

Definition at line 33 of file class.ilMediaObjectMetricsCollectedObjective.php.

33 : void
34 {
35 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
36 if (!$ini) {
37 return;
38 }
39
40 $storage->storeConfigText(
41 "path_to_ffmpeg",
42 $ini->readVariable("tools", "ffmpeg"),
43 "The path to the binary of ffmpeg to convert videos."
44 );
45 }
$ini
Definition: raiseError.php:20

References $ini.

◆ getTentativePreconditions()

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

Definition at line 26 of file class.ilMediaObjectMetricsCollectedObjective.php.

26 : array
27 {
28 return [
30 ];
31 }

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