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

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.ilSystemFolderSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilSystemFolderSetupAgent::__construct ( Refinery\Factory  $refinery)

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilSystemFolderSetupAgent::getArrayToConfigTransformation ( )

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

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

36  : Refinery\Transformation
37  {
38  return $this->refinery->custom()->transformation(function ($data) {
39  return new \ilSystemFolderSetupConfig(
40  $data["client"]["name"] ?? null,
41  $data["client"]["description"] ?? null,
42  $data["client"]["institution"] ?? null,
43  $data["contact"]["firstname"],
44  $data["contact"]["lastname"],
45  $data["contact"]["title"] ?? null,
46  $data["contact"]["position"] ?? null,
47  $data["contact"]["institution"] ?? null,
48  $data["contact"]["street"] ?? null,
49  $data["contact"]["zipcode"] ?? null,
50  $data["contact"]["city"] ?? null,
51  $data["contact"]["country"] ?? null,
52  $data["contact"]["phone"] ?? null,
53  $data["contact"]["email"],
54  );
55  });
56  }
+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilSystemFolderSetupAgent::getBuildArtifactObjective ( )

Definition at line 80 of file class.ilSystemFolderSetupAgent.php.

80  : Setup\Objective
81  {
82  return new Setup\Objective\NullObjective();
83  }

◆ getInstallObjective()

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

Definition at line 61 of file class.ilSystemFolderSetupAgent.php.

References $config.

61  : Setup\Objective
62  {
64  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
Store information about the installation, like title, description and contact information in the acco...

◆ getMigrations()

ilSystemFolderSetupAgent::getMigrations ( )

Definition at line 96 of file class.ilSystemFolderSetupAgent.php.

96  : array
97  {
98  return [];
99  }

◆ getStatusObjective()

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

◆ getUpdateObjective()

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

Definition at line 69 of file class.ilSystemFolderSetupAgent.php.

References $config.

69  : Setup\Objective
70  {
71  if ($config !== null) {
73  }
74  return new Setup\Objective\NullObjective();
75  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
Store information about the installation, like title, description and contact information in the acco...

◆ hasConfig()

ilSystemFolderSetupAgent::hasConfig ( )

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

28  : bool
29  {
30  return true;
31  }

Field Documentation

◆ $refinery

ilSystemFolderSetupAgent::$refinery
protected

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

Referenced by __construct().


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