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

Public Member Functions

 getUpdateObjective (?Setup\Config $config=null)
 
 getMigrations ()
 
- 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

◆ getMigrations()

ILIAS\Setup\Agent::getMigrations ( )

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

79  : array
80  {
81  return [
82  new \ilBookingManagerObjectInfoMigration(),
83  new \ilBookingManagerBookingInfoMigration()
84  ];
85  }

◆ getObjectives()

ILIAS\Setup\Agent::getObjectives ( )
protected

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

References $objectives.

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

39  : array
40  {
41  $objectives = [];
42 
43  $objectives[] = new \ilAccessCustomRBACOperationAddedObjective(
44  "manage_own_reservations",
45  "Manage Own Reservations",
46  "object",
47  3110,
48  ["book"]
49  );
50 
51  $objectives[] = new \ilAccessCustomRBACOperationAddedObjective(
52  "manage_all_reservations",
53  "Manage All Reservations",
54  "object",
55  3850,
56  ["book"]
57  );
58 
59  $objectives[] = new AccessRBACOperationClonedObjective(
60  "book",
61  "read",
62  "manage_own_reservations"
63  );
64 
65  $objectives[] = new AccessRBACOperationClonedObjective(
66  "book",
67  "write",
68  "manage_all_reservations"
69  );
70 
71  // db update steps
72  $objectives[] = new \ilDatabaseUpdateStepsExecutedObjective(new ilBookingManagerDBUpdateSteps());
73 
74  $objectives[] = new \ilDatabaseUpdateStepsExecutedObjective(new ilBookingManager8HotfixDBUpdateSteps());
75 
76  return $objectives;
77  }
$objectives
+ Here is the caller graph for this function:

◆ getUpdateObjective()

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

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

References ILIAS\Setup\Agent\getObjectives().

30  : Setup\Objective
31  {
32  return new Setup\ObjectiveCollection(
33  "Updates of Modules/BookingManager",
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: