4 require_once
'Modules/Test/classes/class.ilObjAssessmentFolder.php';
63 return strlen($this->testOBJ->getPassword());
68 return $this->rbacsystem->checkAccess(
'write', $this->testOBJ->getRefId());
104 return 'tst_password_' . $this->testOBJ->getTestId();
114 $this->
user->getId(),
115 $this->testOBJ->getId(),
120 $this->testOBJ->getRefId()
126 return $this->lng->txtlng(
128 'log_wrong_test_password_entered',
getWrongEnteredPasswordLogMsg()
class ilRbacSystem system function like checkAccess, addActiveRole ...
isPasswordProtectionPageRedirectRequired()
isPrivilegedParticipant()
wrongUserEnteredPasswordExist()
__construct(ilRbacSystem $rbacsystem, ilObjUser $user, ilObjTest $testOBJ, ilLanguage $lng)
isUserEnteredPasswordCorrect()
static _getLogLanguage()
retrieve the log language for assessment logging
static _enabledAssessmentLogging()
check wether assessment logging is enabled or not
static _addLog($user_id, $object_id, $logtext, $question_id="", $original_id="", $test_only=false, $test_ref_id=null)
Add an assessment log entry.
logWrongEnteredPassword()
setUserEnteredPassword($enteredPassword)