|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjSurveyAccess:
Collaboration diagram for ilObjSurveyAccess:Public Member Functions | |
| __construct () | |
| _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... | |
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) | |
| canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
| static | getConditionOperators () |
| Returns an array with valid operators for the specific object type. 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 | _getCommands () |
| get commands More... | |
| static | _lookupCreationComplete (int $a_obj_id) |
| checks whether all necessary parts of the survey are given More... | |
| static | _lookupEvaluationAccess (int $a_obj_id) |
| get evaluation access More... | |
| static | _isSurveyParticipant (int $user_id, int $survey_id) |
| static | _lookupAnonymize (int $a_obj_id) |
| static | _hasEvaluationAccess (int $a_obj_id, int $user_id) |
| static | _lookupFinished (int $a_obj_id, int $a_user_id=0) |
| get finished status More... | |
| static | _lookupMode (int $a_obj_id) |
| Get survey mode (see ilObjSurvey::MODE_... constants) More... | |
| static | _lookup360Mode (int $a_obj_id) |
| static | _checkGoto (string $target) |
| check whether goto script will succeed 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... | |
| static | getConditionOperators () |
| Returns an array with valid operators for the specific object type. 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... | |
Protected Attributes | |
| ilObjUser | $user |
| ilLanguage | $lng |
| ilRbacSystem | $rbacsystem |
| ilAccessHandler | $access |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjSurveyAccess
Definition at line 25 of file class.ilObjSurveyAccess.php.
| ilObjSurveyAccess::__construct | ( | ) |
Definition at line 32 of file class.ilObjSurveyAccess.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjSurveyAccess::_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)
Please do not check any preconditions handled by ilConditionHandler here. Also don't do any RBAC checks.
Reimplemented from ilObjectAccess.
Definition at line 66 of file class.ilObjSurveyAccess.php.
References $access, $ilUser, $lng, $rbacsystem, $ref_id, $user, ilRbacSystem\checkAccess(), ilRbacSystem\checkAccessOfUser(), ilAccessInfo\IL_NO_OBJECT_ACCESS, and ilLanguage\txt().
Here is the call graph for this function:
|
static |
check whether goto script will succeed
Reimplemented from ilObjectAccess.
Definition at line 410 of file class.ilObjSurveyAccess.php.
References $DIC, and Vendor\Package\$e.
|
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 115 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\init().
Here is the caller graph for this function:
|
static |
Definition at line 213 of file class.ilObjSurveyAccess.php.
Referenced by ILIAS\Survey\Access\AccessManager\canAccessEvaluation(), ilSurveyEvaluationGUI\checkAnonymizedEvaluationAccess(), ilObjSurveyGUI\executeCommand(), and ilSurveyExecutionGUI\runShowFinishedPage().
Here is the caller graph for this function:
|
static |
Definition at line 177 of file class.ilObjSurveyAccess.php.
|
static |
Definition at line 391 of file class.ilObjSurveyAccess.php.
|
static |
Definition at line 193 of file class.ilObjSurveyAccess.php.
References $ilDB.
Referenced by ilSurveyLP\isAnonymized().
Here is the caller graph for this function:
|
static |
checks whether all necessary parts of the survey are given
Definition at line 134 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
get evaluation access
Definition at line 159 of file class.ilObjSurveyAccess.php.
|
static |
get finished status
| int | $a_obj_id | survey id |
Definition at line 322 of file class.ilObjSurveyAccess.php.
References $ilUser.
Referenced by ilObjSurveyListGUI\getProperties(), ilContainerStartObjects\isFullfilled(), and ilCourseStart\isFullfilled().
Here is the caller graph for this function:
|
static |
Get survey mode (see ilObjSurvey::MODE_... constants)
Definition at line 370 of file class.ilObjSurveyAccess.php.
References $ilDB.
Referenced by ilObjSurveyListGUI\getProperties().
Here is the caller graph for this function:
|
static |
check condition for a specific user and object
Implements ilConditionHandling.
Definition at line 50 of file class.ilObjSurveyAccess.php.
References ilConditionHandler\OPERATOR_FINISHED.
|
static |
Returns an array with valid operators for the specific object type.
Implements ilConditionHandling.
Definition at line 43 of file class.ilObjSurveyAccess.php.
References ilConditionHandler\OPERATOR_FINISHED.
|
protected |
Definition at line 30 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 28 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 29 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 27 of file class.ilObjSurveyAccess.php.
Referenced by _checkAccess().