ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Wiki\Setup\Agent Class Reference
+ Inheritance diagram for ILIAS\Wiki\Setup\Agent:
+ Collaboration diagram for ILIAS\Wiki\Setup\Agent:

Public Member Functions

 getUpdateObjective (?Setup\Config $config=null)
 
 getStatusObjective (Metrics\Storage $storage)
 
- Public Member Functions inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Config $config=null)
 
 getUpdateObjective (?Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 
 getNamedObjectives (?Config $config=null)
 

Protected Member Functions

 getObjectives ()
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
Refinery $refinery
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Member Function Documentation

◆ getObjectives()

ILIAS\Wiki\Setup\Agent::getObjectives ( )
protected

Definition at line 44 of file class.Agent.php.

References $objectives.

Referenced by ILIAS\Wiki\Setup\Agent\getUpdateObjective().

44  : array
45  {
46  $objectives = [];
47 
48  $objectives[] = new \ilAccessCustomRBACOperationAddedObjective(
49  "add_pages",
50  "Create Pages",
51  "object",
52  3070,
53  ["wiki"]
54  );
55 
56  $objectives[] = new AccessRBACOperationClonedObjective(
57  "wiki",
58  "edit_content",
59  "add_pages"
60  );
61 
62 
63  // db update steps
64  $objectives[] = new \ilDatabaseUpdateStepsExecutedObjective(new ilWikiDBUpdateSteps());
65  $objectives[] = new \ilDatabaseUpdateStepsExecutedObjective(new ilWiki8HotfixDBUpdateSteps());
66 
67  return $objectives;
68  }
$objectives
+ Here is the caller graph for this function:

◆ getStatusObjective()

ILIAS\Wiki\Setup\Agent::getStatusObjective ( Metrics\Storage  $storage)

Definition at line 39 of file class.Agent.php.

39  : Objective
40  {
41  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilWikiDBUpdateSteps());
42  }

◆ getUpdateObjective()

ILIAS\Wiki\Setup\Agent::getUpdateObjective ( ?Setup\Config  $config = null)

Definition at line 30 of file class.Agent.php.

References ILIAS\Wiki\Setup\Agent\getObjectives().

30  : Setup\Objective
31  {
32  return new Setup\ObjectiveCollection(
33  "Updates of Wiki",
34  false,
35  ...$this->getObjectives()
36  );
37  }
+ Here is the call graph for this function:

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