ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
_checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
![]() | |
_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) | |
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 () |
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_... More... | |
static | _lookup360Mode (int $a_obj_id) |
static | _checkGoto (string $target) |
check whether goto script will succeed More... | |
![]() | |
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... | |
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().
ilObjSurveyAccess::_checkAccess | ( | string | $cmd, |
string | $permission, | ||
int | $ref_id, | ||
int | $obj_id, | ||
?int | $user_id = null |
||
) |
Definition at line 66 of file class.ilObjSurveyAccess.php.
References $access, $ilUser, $lng, $rbacsystem, $user, ilRbacSystem\checkAccess(), ilRbacSystem\checkAccessOfUser(), ilAccessInfo\IL_NO_OBJECT_ACCESS, and ilLanguage\txt().
|
static |
check whether goto script will succeed
Definition at line 410 of file class.ilObjSurveyAccess.php.
References $DIC, and Vendor\Package\$e.
|
static |
Definition at line 115 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\init().
|
static |
Definition at line 213 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, ANONYMOUS_USER_ID, ilObjSurvey\MODE_360, ilObjSurvey\MODE_IND_FEEDB, ilObjSurvey\MODE_SELF_EVAL, ilObjSurvey\RESULTS_360_ALL, ilObjSurvey\RESULTS_360_NONE, ilObjSurvey\RESULTS_360_OWN, and ilObjSurvey\RESULTS_SELF_EVAL_NONE.
Referenced by ILIAS\Survey\Access\AccessManager\canAccessEvaluation(), ilSurveyEvaluationGUI\checkAnonymizedEvaluationAccess(), ilObjSurveyGUI\executeCommand(), and ilSurveyExecutionGUI\runShowFinishedPage().
|
static |
Definition at line 177 of file class.ilObjSurveyAccess.php.
Referenced by ilLPStatusSurveyFinished\determineStatus().
|
static |
Definition at line 391 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, and ilObjSurvey\MODE_360.
|
static |
Definition at line 193 of file class.ilObjSurveyAccess.php.
Referenced by ilSurveyLP\isAnonymized().
|
static |
checks whether all necessary parts of the survey are given
Definition at line 134 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\getProperties().
|
static |
|
static |
get finished status
int | $a_obj_id | survey id |
Definition at line 322 of file class.ilObjSurveyAccess.php.
References $DIC, $ilDB, $ilUser, and ILIAS\Repository\int().
Referenced by ilLPStatusSurveyFinished\determineStatus(), ilObjSurveyListGUI\getProperties(), ilCourseStart\isFullfilled(), and ilContainerStartObjects\isFullfilled().
|
static |
Get survey mode (see ilObjSurvey::MODE_...
constants)
Definition at line 370 of file class.ilObjSurveyAccess.php.
Referenced by ilObjSurveyListGUI\getProperties().
|
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().