ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilFileSystemSetupAgent Class Reference
+ Inheritance diagram for ilFileSystemSetupAgent:
+ Collaboration diagram for ilFileSystemSetupAgent:

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

Constructor & Destructor Documentation

◆ __construct()

ilFileSystemSetupAgent::__construct ( Refinery\Factory  $refinery)

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

References $refinery.

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

Member Function Documentation

◆ getArrayToConfigTransformation()

ilFileSystemSetupAgent::getArrayToConfigTransformation ( )

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

References $data.

42  : Refinery\Transformation
43  {
44  return $this->refinery->custom()->transformation(function ($data) {
45  return new \ilFileSystemSetupConfig(
46  $data["data_dir"]
47  );
48  });
49  }
$data
Definition: storeScorm.php:23

◆ getBuildArtifactObjective()

ilFileSystemSetupAgent::getBuildArtifactObjective ( )

Definition at line 75 of file class.ilFileSystemSetupAgent.php.

75  : Setup\Objective
76  {
77  return new Setup\NullObjective();
78  }

◆ getConfigInput()

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

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

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

◆ getInstallObjective()

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

Definition at line 54 of file class.ilFileSystemSetupAgent.php.

References $config.

54  : Setup\Objective
55  {
56  return new Setup\ObjectiveCollection(
57  "Complete objetives from Services/FileSystem",
58  false,
61  );
62  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68

◆ getUpdateObjective()

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

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

67  : Setup\Objective
68  {
69  return new Setup\NullObjective();
70  }

◆ hasConfig()

ilFileSystemSetupAgent::hasConfig ( )

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

26  : bool
27  {
28  return true;
29  }

Field Documentation

◆ $refinery

ilFileSystemSetupAgent::$refinery
protected

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

Referenced by __construct().


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