/** * Start a test for the first time * * Start a test for the first time. This method contains a lock * to prevent multiple submissions by the start test button */ protected function startPlayerCmd() { $isFirstTestStartRequest = false; $this->processLocker->requestTestStartLockCheckLock(); if ($this->testSession->lookupTestStartLock() != $this->getLockParameter()) { $this->testSession->persistTestStartLock($this->getLockParameter()); $isFirstTestStartRequest = true; } $this->processLocker->releaseTestStartLockCheckLock(); if ($isFirstTestStartRequest) { $this->handleUserSettings(); $this->ctrl->redirect($this, "initTest"); } $this->ctrl->redirectByClass("ilobjtestgui", "redirectToInfoScreen"); }