|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjSurveyAccess. More...
Inheritance diagram for ilObjSurveyAccess:
Collaboration diagram for ilObjSurveyAccess:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| _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... | |
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... | |
Static Public Member Functions | |
| static | getConditionOperators () |
| Get possible conditions operators. More... | |
| static | checkCondition ($a_svy_id, $a_operator, $a_value, $a_usr_id) |
| check condition More... | |
| static | _getCommands () |
| get commands More... | |
| static | _lookupCreationComplete ($a_obj_id) |
| checks wether all necessary parts of the survey are given More... | |
| static | _lookupEvaluationAccess ($a_obj_id) |
| get evaluation access More... | |
| static | _isSurveyParticipant ($user_id, $survey_id) |
| static | _lookupAnonymize ($a_obj_id) |
| static | _hasEvaluationAccess ($a_obj_id, $user_id) |
| static | _lookupOnline ($a_obj_id) |
| get status More... | |
| static | _lookupFinished ($a_obj_id, $a_user_id="") |
| get finished status More... | |
| static | _lookup360Mode ($a_obj_id) |
| static | _checkGoto ($a_target) |
| check whether goto script will succeed 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. More... | |
| static | _preloadData ($a_obj_ids, $a_ref_ids) |
| Preload data. More... | |
| static | getConditionOperators () |
| Returns an array with valid operators for the specific object type. More... | |
| static | checkCondition ($a_trigger_obj_id, $a_operator, $a_value, $a_usr_id) |
| check condition for a specific user and object More... | |
Protected Attributes | |
| $user | |
| $lng | |
| $rbacsystem | |
| $access | |
| ilObjSurveyAccess::__construct | ( | ) |
| ilObjSurveyAccess::_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)
Please do not check any preconditions handled by ilConditionHandler here.
| string | $a_cmd | command (not permission!) |
| string | $a_permission | permission |
| int | $a_ref_id | reference id |
| int | $a_obj_id | object id |
| int | $a_user_id | user id (if not provided, current user is taken) |
Reimplemented from ilObjectAccess.
Definition at line 127 of file class.ilObjSurveyAccess.php.
References $access, $ilUser, $lng, $rbacsystem, $user, _hasEvaluationAccess(), _lookupCreationComplete(), _lookupOnline(), and IL_NO_OBJECT_ACCESS.
Here is the call graph for this function:
|
static |
check whether goto script will succeed
Reimplemented from ilObjectAccess.
Definition at line 441 of file class.ilObjSurveyAccess.php.
References $_GET, $DIC, and ilObjSurvey\validateExternalRaterCode().
Here is the call graph for this function:
|
static |
get commands
this method returns an array of all possible commands/permission combinations
example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );
Reimplemented from ilObjectAccess.
Definition at line 196 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\init().
Here is the caller graph for this function:
|
static |
Definition at line 290 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, $row, _isSurveyParticipant(), _lookupAnonymize(), _lookupEvaluationAccess(), ilObjSurvey\RESULTS_360_ALL, ilObjSurvey\RESULTS_360_NONE, and ilObjSurvey\RESULTS_360_OWN.
Referenced by _checkAccess(), ilSurveyEvaluationGUI\checkAnonymizedEvaluationAccess(), ilObjSurveyGUI\getTabs(), ilObjSurveyGUI\infoScreen(), and ilSurveyExecutionGUI\runShowFinishedPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 257 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
Referenced by _hasEvaluationAccess(), and ilLPStatusSurveyFinished\determineStatus().
Here is the caller graph for this function:
|
static |
Definition at line 423 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
Referenced by ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
Definition at line 271 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and $row.
Referenced by _hasEvaluationAccess(), and ilSurveyLP\isAnonymized().
Here is the caller graph for this function:
|
static |
checks wether all necessary parts of the survey are given
Definition at line 215 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and $row.
Referenced by _checkAccess(), and ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
get evaluation access
Definition at line 239 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and $row.
Referenced by _hasEvaluationAccess().
Here is the caller graph for this function:
|
static |
get finished status
| int | $a_obj_id | survey id |
Definition at line 380 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $ilUser, $result, and $row.
Referenced by checkCondition(), ilLPStatusSurveyFinished\determineStatus(), ilObjSurveyListGUI\getProperties(), ilContainerStartObjects\isFullfilled(), and ilCourseStart\isFullfilled().
Here is the caller graph for this function:
|
static |
get status
Definition at line 357 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and $row.
Referenced by _checkAccess(), and ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
check condition
| type | $a_svy_id | |
| type | $a_operator | |
| type | $a_value | |
| type | $a_usr_id |
Implements ilConditionHandling.
Definition at line 94 of file class.ilObjSurveyAccess.php.
References _lookupFinished(), and ilConditionHandler\OPERATOR_FINISHED.
Here is the call graph for this function:
|
static |
Get possible conditions operators.
Implements ilConditionHandling.
Definition at line 77 of file class.ilObjSurveyAccess.php.
References ilConditionHandler\OPERATOR_FINISHED.
|
protected |
Definition at line 57 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 47 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 52 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 42 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().