ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilSkillSetupAgent Class Reference
+ Inheritance diagram for ilSkillSetupAgent:
+ Collaboration diagram for ilSkillSetupAgent:

Public Member Functions

 getUpdateObjective (?Setup\Config $config=null)
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 

Protected Member Functions

 getObjectives ()
 

Detailed Description

Definition at line 23 of file class.ilSkillSetupAgent.php.

Member Function Documentation

◆ getObjectives()

ilSkillSetupAgent::getObjectives ( )
protected

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

References $objectives.

Referenced by getUpdateObjective().

39  : array
40  {
41  $objectives = [];
42 
43  // add basic object type and put in tree
44  $objectives[] = new ilTreeAdminNodeAddedObjective("skee", "Skill Tree", "skmg");
45 
46  // custom rbac operations
48  "read_comp",
49  "Read Competences",
50  "object",
51  6500,
52  ["skee"]
53  );
55  "read_profiles",
56  "Read Competence Profiles",
57  "object",
58  6510,
59  ["skee"]
60  );
62  "manage_comp",
63  "Manage Competences",
64  "object",
65  8500,
66  ["skee"]
67  );
69  "manage_comp_temp",
70  "Manage Competence Templates",
71  "object",
72  8510,
73  ["skee"]
74  );
76  "manage_profiles",
77  "Manage Competence Profiles",
78  "object",
79  8520,
80  ["skee"]
81  );
82 
83  // add create operation for relevant container type
85  "create_skee",
86  "Create Skill Tree",
87  "create",
88  9999,
89  ["skmg"]
90  );
91 
92  // common rbac operations
94 
95  // db update steps
97 
98  return $objectives;
99  }
$objectives
+ Here is the caller graph for this function:

◆ getStatusObjective()

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

◆ getUpdateObjective()

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

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

References getObjectives().

25  : Setup\Objective
26  {
27  return new Setup\ObjectiveCollection(
28  "Updates of Services/Skill",
29  false,
30  ...$this->getObjectives()
31  );
32  }
+ Here is the call graph for this function:

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