ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjIndividualAssessmentAccess Class Reference
+ Inheritance diagram for ilObjIndividualAssessmentAccess:
+ Collaboration diagram for ilObjIndividualAssessmentAccess:

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from ilObjectAccess
 _checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
 Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id)
 check condition More...
 
 canBeDelivered (ilWACPath $ilWACPath)
 
Parameters
ilWACPath$ilWACPath
Returns
bool
More...
 

Detailed Description

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

Member Function Documentation

◆ _getCommands()

static ilObjIndividualAssessmentAccess::_getCommands ( )
static

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

Referenced by ilObjIndividualAssessmentListGUI\init().

12  {
13  $commands = array(
14  array("permission" => "read", "cmd" => "", "lang_var" => "show", "default" => true)
15  ,array("permission" => "write", "cmd" => "edit", "lang_var" => "edit", "default" => false)
16  );
17  return $commands;
18  }
+ Here is the caller graph for this function:

◆ checkCondition()

static ilObjIndividualAssessmentAccess::checkCondition (   $iass_id,
  $a_operator,
  $a_value,
  $a_usr_id 
)
static

check condition for a specific user and object

Parameters
type$a_trigger_obj_id
type$a_operator
type$a_value
type$a_usr_id

Implements ilConditionHandling.

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

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

38  {
39  require_once 'Modules/IndividualAssessment/classes/LearningProgress/class.ilIndividualAssessmentLPInterface.php';
40  switch ($a_operator) {
44  break;
48  default:
49  return false;
50  }
51  return false;
52  }
+ 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.

Implements ilConditionHandling.

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

References ilConditionHandler\OPERATOR_FAILED, and ilConditionHandler\OPERATOR_PASSED.

26  {
27  include_once './Services/Conditions/classes/class.ilConditionHandler.php';
28  return array(
31  );
32  }

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