ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilSystemFolderSetupAgent Class Reference
+ Inheritance diagram for ilSystemFolderSetupAgent:
+ Collaboration diagram for ilSystemFolderSetupAgent:

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getConfigInput (Setup\Config $config=null)
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildArtifactObjective ()
 

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 17 of file class.ilSystemFolderSetupAgent.php.

19 {
20 $this->refinery = $refinery;
21 }

References $refinery.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilSystemFolderSetupAgent::getArrayToConfigTransformation ( )

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

42 : Refinery\Transformation
43 {
44 return $this->refinery->custom()->transformation(function ($data) {
45 return new \ilSystemFolderSetupConfig(
46 $data["client"]["name"],
47 $data["client"]["description"] ?? null,
48 $data["client"]["institution"] ?? null,
49 $data["contact"]["firstname"],
50 $data["contact"]["lastname"],
51 $data["contact"]["title"] ?? null,
52 $data["contact"]["position"] ?? null,
53 $data["contact"]["institution"] ?? null,
54 $data["contact"]["street"] ?? null,
55 $data["contact"]["zipcode"] ?? null,
56 $data["contact"]["city"] ?? null,
57 $data["contact"]["country"] ?? null,
58 $data["contact"]["phone"] ?? null,
59 $data["contact"]["email"],
60 );
61 });
62 }
$data
Definition: storeScorm.php:23

References $data.

◆ getBuildArtifactObjective()

ilSystemFolderSetupAgent::getBuildArtifactObjective ( )

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

87 : Setup\Objective
88 {
89 return new Setup\NullObjective();
90 }

◆ getConfigInput()

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

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

34 : UI\Component\Input\Field\Input
35 {
36 throw new \LogicException("Not yet implemented.");
37 }

◆ getInstallObjective()

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

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

67 : Setup\Objective
68 {
69 return new Setup\ObjectiveCollection(
70 "Complete objectives from Modules/SystemFolder",
71 false,
73 );
74 }
Store information about the installation, like title, description and contact information in the acco...
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68

References $config.

◆ getUpdateObjective()

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

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

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

◆ hasConfig()

ilSystemFolderSetupAgent::hasConfig ( )

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

26 : bool
27 {
28 return true;
29 }

Field Documentation

◆ $refinery

ilSystemFolderSetupAgent::$refinery
protected

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

Referenced by __construct().


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