ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilForumSetupAgent Class Reference
+ Inheritance diagram for ilForumSetupAgent:
+ Collaboration diagram for ilForumSetupAgent:

Public Member Functions

 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Setup\Config $config=null)
 
 getUpdateObjective (?Setup\Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 

Detailed Description

Definition at line 24 of file class.ilForumSetupAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilForumSetupAgent::getArrayToConfigTransformation ( )

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

33 : Refinery\Transformation
34 {
35 throw new LogicException("Agent has no config.");
36 }

◆ getBuildObjective()

ilForumSetupAgent::getBuildObjective ( )

Definition at line 60 of file class.ilForumSetupAgent.php.

60 : Setup\Objective
61 {
62 return new Setup\Objective\NullObjective();
63 }

◆ getInstallObjective()

◆ getMigrations()

ilForumSetupAgent::getMigrations ( )

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

75 : array
76 {
77 return [];
78 }

◆ getStatusObjective()

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

Definition at line 65 of file class.ilForumSetupAgent.php.

65 : Setup\Objective
66 {
67 return new Setup\ObjectiveCollection(
68 'Component Forum',
69 true,
71 new ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilForumDatabaseUpdateSteps9())
72 );
73 }

◆ getUpdateObjective()

ilForumSetupAgent::getUpdateObjective ( ?Setup\Config  $config = null)

Definition at line 46 of file class.ilForumSetupAgent.php.

46 : Setup\Objective
47 {
48 return new Setup\ObjectiveCollection(
49 'Forum',
50 true,
53 ),
56 )
57 );
58 }
This class attempt to achieve a set of database update steps.

◆ hasConfig()

ilForumSetupAgent::hasConfig ( )

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

28 : bool
29 {
30 return false;
31 }

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