Exemplo n.º 1
0
 public function hasStarted(ilTestSession $testSession)
 {
     if ($testSession->getLastSequence() < 1) {
         return false;
     }
     // WTF ?? heard about tests with only one question !?
     if ($testSession->getLastSequence() == $this->getFirstSequence()) {
         return false;
     }
     return true;
 }
Exemplo n.º 2
0
 public function hasStarted(ilTestSession $testSession)
 {
     if ($testSession->getLastSequence() < 1) {
         return false;
     }
     if ($testSession->getLastSequence() == $this->getFirstSequence()) {
         return false;
     }
     return true;
 }