74 return strlen($this->testOBJ->getPassword());
79 return $this->rbacsystem->checkAccess(
'write', $this->testOBJ->getRefId());
108 return 'tst_password_' . $this->testOBJ->getTestId();
118 $this->
user->getId(),
119 $this->testOBJ->getId(),
124 $this->testOBJ->getRefId()
130 return $this->
lng->txtlng(
132 'log_wrong_test_password_entered',
getWrongEnteredPasswordLogMsg()
static get(string $a_var)
static _addLog( $user_id, $object_id, $logtext, $question_id=0, $original_id=0, $test_only=false, $test_ref_id=0)
Add an assessment log entry.
isPasswordProtectionPageRedirectRequired()
isPrivilegedParticipant()
wrongUserEnteredPasswordExist()
__construct(ilRbacSystem $rbacsystem, ilObjUser $user, ilObjTest $testOBJ, ilLanguage $lng)
isUserEnteredPasswordCorrect()
static _enabledAssessmentLogging()
logWrongEnteredPassword()
setUserEnteredPassword($enteredPassword)
static set(string $a_var, $a_val)
Set a value.