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

Static Public Member Functions

static _getCommands ()
 
static getConditionOperators ()
 ilConditionHandling implementation More...
 
static checkCondition (int $a_trigger_obj_id, string $a_operator, string $a_value, int $a_usr_id)
 check condition for a specific user and object More...
 
- Static Public Member Functions inherited from ilObjectAccess
static _getCommands ()
 get commands More...
 
static _checkGoto (string $target)
 check whether goto script will succeed More...
 
static _isOffline (int $obj_id)
 Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More...
 
static _preloadData (array $obj_ids, array $ref_ids)
 Preload data. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilObjectAccess
 _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
 Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 canBeDelivered (ilWACPath $ilWACPath)
 

Detailed Description

Definition at line 22 of file class.ilObjIndividualAssessmentAccess.php.

Member Function Documentation

◆ _getCommands()

static ilObjIndividualAssessmentAccess::_getCommands ( )
static

Definition at line 27 of file class.ilObjIndividualAssessmentAccess.php.

Referenced by ilObjIndividualAssessmentListGUI\init().

27  : array
28  {
29  return [
30  ["permission" => "read", "cmd" => "", "lang_var" => "show", "default" => true],
31  ["permission" => "write", "cmd" => "edit", "lang_var" => "settings", "default" => false]
32  ];
33  }
+ Here is the caller graph for this function:

◆ checkCondition()

static ilObjIndividualAssessmentAccess::checkCondition ( int  $a_trigger_obj_id,
string  $a_operator,
string  $a_value,
int  $a_usr_id 
)
static

check condition for a specific user and object

Implements ilConditionHandling.

Definition at line 51 of file class.ilObjIndividualAssessmentAccess.php.

References ilIndividualAssessmentLPInterface\determineStatusOfMember(), ilIndividualAssessmentMembers\LP_COMPLETED, ilIndividualAssessmentMembers\LP_FAILED, ilConditionHandler\OPERATOR_FAILED, and ilConditionHandler\OPERATOR_PASSED.

+ Here is the call graph for this function:

◆ getConditionOperators()

static ilObjIndividualAssessmentAccess::getConditionOperators ( )
static

ilConditionHandling implementation

Returns an array with valid operators for the specific object type.

Returns
string[]

Implements ilConditionHandling.

Definition at line 40 of file class.ilObjIndividualAssessmentAccess.php.

References ilConditionHandler\OPERATOR_FAILED, and ilConditionHandler\OPERATOR_PASSED.


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