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

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 9 of file class.ilLoggingSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilLoggingSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 16 of file class.ilLoggingSetupAgent.php.

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

References $refinery.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilLoggingSetupAgent::getArrayToConfigTransformation ( )

Definition at line 41 of file class.ilLoggingSetupAgent.php.

41 : Refinery\Transformation
42 {
43 return $this->refinery->custom()->transformation(function ($data) {
44 return new \ilLoggingSetupConfig(
45 $data["enable"] ?? false,
46 $data["path_to_logfile"] ?? null,
47 $data["errorlog_dir"] ?? null
48 );
49 });
50 }
$data
Definition: storeScorm.php:23

References $data.

◆ getBuildArtifactObjective()

ilLoggingSetupAgent::getBuildArtifactObjective ( )

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

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

◆ getConfigInput()

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

Definition at line 33 of file class.ilLoggingSetupAgent.php.

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

◆ getInstallObjective()

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

Definition at line 55 of file class.ilLoggingSetupAgent.php.

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

References $config.

◆ getUpdateObjective()

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

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

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

◆ hasConfig()

ilLoggingSetupAgent::hasConfig ( )

Definition at line 25 of file class.ilLoggingSetupAgent.php.

25 : bool
26 {
27 return true;
28 }

Field Documentation

◆ $refinery

ilLoggingSetupAgent::$refinery
protected

Definition at line 14 of file class.ilLoggingSetupAgent.php.

Referenced by __construct().


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