ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStyleSetupAgent Class Reference
+ Inheritance diagram for ilStyleSetupAgent:
+ Collaboration diagram for ilStyleSetupAgent:

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 ()
 

Protected Attributes

 $refinery
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilStyleSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 19 of file class.ilStyleSetupAgent.php.

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilStyleSetupAgent::getArrayToConfigTransformation ( )

Definition at line 36 of file class.ilStyleSetupAgent.php.

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

36  : Refinery\Transformation
37  {
38  return $this->refinery->custom()->transformation(function ($data) {
39  return new \ilStyleSetupConfig(
40  $data["manage_system_styles"] ?? false,
41  $data["path_to_lessc"] ?? null
42  );
43  });
44  }
+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilStyleSetupAgent::getBuildArtifactObjective ( )

Definition at line 68 of file class.ilStyleSetupAgent.php.

◆ getInstallObjective()

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

Definition at line 49 of file class.ilStyleSetupAgent.php.

References $config.

49  : Setup\Objective
50  {
52  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

◆ getMigrations()

ilStyleSetupAgent::getMigrations ( )

Definition at line 84 of file class.ilStyleSetupAgent.php.

84  : array
85  {
86  return [];
87  }

◆ getStatusObjective()

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

Definition at line 76 of file class.ilStyleSetupAgent.php.

76  : Setup\Objective
77  {
78  return new ilStyleMetricsCollectedObjective($storage);
79  }

◆ getUpdateObjective()

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

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

References $config.

57  : Setup\Objective
58  {
59  if ($config !== null) {
61  }
62  return new Setup\Objective\NullObjective();
63  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

◆ hasConfig()

ilStyleSetupAgent::hasConfig ( )

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

28  : bool
29  {
30  return true;
31  }

Field Documentation

◆ $refinery

ilStyleSetupAgent::$refinery
protected

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

Referenced by __construct().


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