ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 (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
ilDatabaseUpdateSteps $steps
 
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 36 of file class.ilFileObjectRBACDatabase.php.

36  : array
37  {
38  return array_merge(
39  parent::getPreconditions($environment),
40  [
42  Permissions::EDIT_CONTENT->value,
43  "Edit File",
44  "object",
45  5990,
46  ["file"]
47  ),
49  Permissions::VIEW_CONTENT->value,
50  "View Content in external Editor",
51  "object",
52  2001,
53  ["file"]
54  ),
56  "file",
57  Permissions::READ->value,
58  Permissions::VIEW_CONTENT->value
59  ),
60 
61  ]
62  );
63  }

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