|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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... | ||||
| canBeDelivered (ilWACPath $ilWACPath) | ||||
| ||||
| canBeDelivered (ilWACPath $ilWACPath) | ||||
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 | _lookupFinished ($a_obj_id, $a_user_id="") |
| get finished status More... | |
| static | _lookupMode ($a_obj_id) |
| Get survey mode. 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 if object type does not support centralized offline handling. 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 | |
Class ilObjSurveyAccess.
Definition at line 11 of file class.ilObjSurveyAccess.php.
| 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 99 of file class.ilObjSurveyAccess.php.
References $access, $ilUser, $lng, $rbacsystem, $user, _hasEvaluationAccess(), _lookupCreationComplete(), 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 423 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 161 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\init().
Here is the caller graph for this function:
|
static |
Definition at line 255 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, _isSurveyParticipant(), _lookupAnonymize(), _lookupEvaluationAccess(), _lookupMode(), ANONYMOUS_USER_ID, ilObjSurvey\MODE_360, ilObjSurvey\MODE_SELF_EVAL, ilObjSurvey\RESULTS_360_ALL, ilObjSurvey\RESULTS_360_NONE, ilObjSurvey\RESULTS_360_OWN, and ilObjSurvey\RESULTS_SELF_EVAL_NONE.
Referenced by _checkAccess(), ilSurveyEvaluationGUI\checkAnonymizedEvaluationAccess(), ilObjSurveyGUI\executeCommand(), 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 222 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and true.
Referenced by _hasEvaluationAccess(), and ilLPStatusSurveyFinished\determineStatus().
Here is the caller graph for this function:
|
static |
Definition at line 405 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $result, and ilObjSurvey\MODE_360.
|
static |
Definition at line 236 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
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 180 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
Referenced by _checkAccess(), and ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
get evaluation access
Definition at line 204 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
Referenced by _hasEvaluationAccess().
Here is the caller graph for this function:
|
static |
get finished status
| int | $a_obj_id | survey id |
Definition at line 338 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $ilUser, and $result.
Referenced by checkCondition(), ilLPStatusSurveyFinished\determineStatus(), ilObjSurveyListGUI\getProperties(), ilContainerStartObjects\isFullfilled(), and ilCourseStart\isFullfilled().
Here is the caller graph for this function:
|
static |
Get survey mode.
| $a_obj_id |
Definition at line 386 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and $result.
Referenced by _hasEvaluationAccess(), 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 67 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 51 of file class.ilObjSurveyAccess.php.
References ilConditionHandler\OPERATOR_FINISHED.
|
protected |
Definition at line 31 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 21 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 26 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 16 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().