ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjIndividualAssessmentAccess.php
Go to the documentation of this file.
1 <?php
2 
3 require_once 'Services/Object/classes/class.ilObjectAccess.php';
4 require_once 'Services/AccessControl/classes/class.ilConditionHandler.php';
5 require_once 'Services/AccessControl/interfaces/interface.ilConditionHandling.php';
7 {
11  public static function _getCommands()
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  }
19 
25  public static function getConditionOperators()
26  {
27  include_once './Services/AccessControl/classes/class.ilConditionHandler.php';
28  return array(
31  );
32  }
33 
37  public static function checkCondition($iass_id, $a_operator, $a_value, $a_usr_id)
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  }
53 }
static checkCondition($iass_id, $a_operator, $a_value, $a_usr_id)
check condition for a specific user and object
Interface for condition handling.
static getConditionOperators()
ilConditionHandling implementation
Create styles array
The data for the language used.
Class ilObjectAccess.