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

Public Member Functions

 getPreconditions (Environment $environment)
 Objectives might depend on other objectives. More...
 
- Public Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective
 __construct (protected ilDatabaseUpdateSteps $steps)
 
 getHash ()
 The hash for the objective is calculated over the classname and the steps that are contained. More...
 
 getLabel ()
 Get a label that describes this objective. More...
 
 isNotable ()
 
 getPreconditions (Environment $environment)
 
 achieve (Environment $environment)
 
 isApplicable (Environment $environment)
 

Additional Inherited Members

- Data Fields inherited from ilDatabaseUpdateStepsExecutedObjective
const STEP_METHOD_PREFIX = "step_"
 
- Protected Member Functions inherited from ilDatabaseUpdateStepsExecutedObjective
 throwStepNotFinishedException (int $started, int $finished)
 
- Protected Attributes inherited from ilDatabaseUpdateStepsExecutedObjective
string $steps_class
 

Detailed Description

Member Function Documentation

◆ getPreconditions()

ilFileObjectRBACDatabase::getPreconditions ( Environment  $environment)

Objectives might depend on other objectives.

Exceptions
UnachievableExceptionif the objective is not achievable
Returns
Objective[]

Implements ILIAS\Setup\Objective.

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

30  : array
31  {
32  return array_merge(
33  parent::getPreconditions($environment),
34  [
36  Permissions::EDIT_CONTENT->value,
37  "Edit File",
38  "object",
39  5990,
40  ["file"]
41  ),
43  Permissions::VIEW_CONTENT->value,
44  "View Content in external Editor",
45  "object",
46  2001,
47  ["file"]
48  ),
50  "file",
51  Permissions::READ->value,
52  Permissions::VIEW_CONTENT->value
53  ),
54 
55  ]
56  );
57  }

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