ILIAS  release_8 Revision v8.24
ilPreviewSetupAgent Class Reference
+ Inheritance diagram for ilPreviewSetupAgent:
+ Collaboration diagram for ilPreviewSetupAgent:

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 @inheritDoc More...
 

Protected Attributes

Refinery Factory $refinery
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilPreviewSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 30 of file class.ilPreviewSetupAgent.php.

References $refinery, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilPreviewSetupAgent::getArrayToConfigTransformation ( )

Definition at line 47 of file class.ilPreviewSetupAgent.php.

47 : Refinery\Transformation
48 {
49 return $this->refinery->custom()->transformation(fn ($data): \ilPreviewSetupConfig => new \ilPreviewSetupConfig(
50 $data["path_to_ghostscript"] ?? null
51 ));
52 }

References $data, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilPreviewSetupAgent::getBuildArtifactObjective ( )

Definition at line 78 of file class.ilPreviewSetupAgent.php.

78 : Setup\Objective
79 {
80 return new Setup\Objective\NullObjective();
81 }

◆ getInstallObjective()

ilPreviewSetupAgent::getInstallObjective ( Setup\Config  $config = null)

@noinspection PhpParamsInspection

Definition at line 57 of file class.ilPreviewSetupAgent.php.

57 : Setup\Objective
58 {
61 }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

References $config.

◆ getMigrations()

ilPreviewSetupAgent::getMigrations ( )

@inheritDoc

Definition at line 94 of file class.ilPreviewSetupAgent.php.

94 : array
95 {
96 return [];
97 }

◆ getStatusObjective()

ilPreviewSetupAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

Definition at line 86 of file class.ilPreviewSetupAgent.php.

◆ getUpdateObjective()

ilPreviewSetupAgent::getUpdateObjective ( Setup\Config  $config = null)

@noinspection PhpParamsInspection

Definition at line 66 of file class.ilPreviewSetupAgent.php.

66 : Setup\Objective
67 {
68 if ($config !== null) {
71 }
72 return new Setup\Objective\NullObjective();
73 }

References $config.

◆ hasConfig()

ilPreviewSetupAgent::hasConfig ( )

Definition at line 39 of file class.ilPreviewSetupAgent.php.

39 : bool
40 {
41 return true;
42 }

Field Documentation

◆ $refinery

Refinery Factory ilPreviewSetupAgent::$refinery
protected

Definition at line 28 of file class.ilPreviewSetupAgent.php.

Referenced by __construct().


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