ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilTestPlayerFixedQuestionSetGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Modules/Test/classes/class.ilTestOutputGUI.php';
5
21{
22 protected function performTestPassFinishedTasks($finishedPass)
23 {
24 if( !$this->testSession->isSubmitted() )
25 {
26 $this->testSession->setSubmitted(1);
27 $this->testSession->setSubmittedTimestamp(date('Y-m-d H:i:s'));
28 $this->testSession->saveToDb();
29 }
30
31 if( $this->object->isSkillServiceToBeConsidered() )
32 {
34 $this->testSession->getActiveId(), $finishedPass, $this->testSession->getUserId()
35 );
36 }
37
38 if( $this->object->getEnableArchiving() )
39 {
40 $this->archiveParticipantSubmission($this->testSession->getActiveId(), $finishedPass);
41 }
42 }
43
44 private function performSkillTriggering($activeId, $finishedPass, $userId)
45 {
46 require_once 'Modules/Test/classes/class.ilTestSkillEvaluation.php';
47 $skillEvaluation = new ilTestSkillEvaluation($this->db, $this->object);
48
49 $skillEvaluation->init()->trigger($activeId, $finishedPass, $userId);
50 }
51}
Output class for assessment test execution.
performSkillTriggering($activeId, $finishedPass, $userId)