ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTestPlayerFixedQuestionSetGUI Class Reference
+ Inheritance diagram for ilTestPlayerFixedQuestionSetGUI:
+ Collaboration diagram for ilTestPlayerFixedQuestionSetGUI:

Protected Member Functions

 performTestPassFinishedTasks ($finishedPass)
- Protected Member Functions inherited from ilTestOutputGUI
 startTestCmd ()
 nextQuestionCmd ()
 Go to the next question.
 previousQuestionCmd ()
 Go to the previous question.
 redirectQuestionCmd ()
 Called when a user answered a question to perform a redirect after POST.
 outWorkingForm ($sequence="", $test_id, $postpone_allowed, $directfeedback=false)
 Creates the learners output of a question.
 isFirstPageInSequence ($sequence)
 isLastQuestionInSequence (assQuestionGUI $question_gui)
 canSaveResult ()
 Returns TRUE if the answers of the current user could be saved.
 showInstantResponseCmd ()
 showQuestionListCmd ()
 showQuestionListWithoutSavingCmd ()
 postponeQuestionCmd ()
 Postpone a question to the end of the test.
 handleQuestionActionCmd ()
 performTearsAndAngerBrokenConfessionChecks ()
 generateRandomTestPassForActiveUser ()
 getObjectiveOrientedContainerId ()
 filterTestSequenceByObjectives (ilTestSession $testSession, ilTestSequence $testSequence)
 updateContainerObjectivesWithAnsweredQuestion (ilTestSession $testSession, ilTestSequence $testSequence, assQuestion $question)
 customRedirectRequired ()
 performCustomRedirect ()
- Protected Member Functions inherited from ilTestPlayerAbstractGUI
 ensureExistingTestSession (ilTestSession $testSession)
 initProcessLocker ($activeId)
 determineInlineScoreDisplay ()
 populatePreviousButtons ($sequence)
 populateQuestionMarkingBlockAsUnmarked ()
 populateQuestionMarkingBlockAsMarked ()
 populateNextButtonsLeadingToQuestion ()
 populateLowerNextButtonBlockLeadingToQuestion ()
 populateUpperNextButtonBlockLeadingToQuestion ()
 populateNextButtonsLeadingToEndOfTest ()
 populateLowerNextButtonBlockLeadingToEndOfTest ()
 populateUpperNextButtonBlockLeadingToEndOfTest ()
 populateNextButtonsLeadingToSummary ()
 populateLowerNextButtonBlockLeadingToSummary ()
 populateUpperNextButtonBlockLeadingToSummary ()
 populateCancelButtonBlock ()
 populateSummaryButtons ()
 populateLowerSummaryButtonBlock ()
 populateUpperSummaryButtonBlock ()
 populateQuestionSelectionButtons ()
 populateLowerQuestionSelectionButtonBlock ()
 populateUpperQuestionSelectionButtonBlock ()
 populatePostponeButtons ()
 populateLowerPostponeButtonBlock ()
 populateUpperPostponeButtonBlock ()
 populatePreviousButtonsLeadingToQuestion ()
 populatePreviousButtonsLeadingToIntroduction ()
 populateLowerPreviousButtonBlock ($cmd, $label)
 populateUpperPreviousButtonBlock ($cmd, $label)
 populateSpecificFeedbackBlock ($question_gui)
 populateGenericFeedbackBlock ($question_gui)
 populateScoreBlock ($reachedPoints, $maxPoints)
 populateSolutionBlock ($solutionoutput)
 populateCharSelector ()
 showSideList ()
 populateSyntaxStyleBlock ()
 populateContentStyleBlock ()
 startPlayerCmd ()
 Start a test for the first time.
 resumePlayerCmd ()
 Resume a test at the last position.
 initTestCmd ()
 Start a test for the first time after a redirect.
 markQuestionCmd ()
 Set a question solved.
 unmarkQuestionCmd ()
 Set a question unsolved.
 gotoQuestionCmd ()
 Go to the question with the active sequence.
 confirmFinishCmd ()
 The final submission of a test was confirmed.
 afterTestPassFinishedCmd ()
 isTestSignRedirectRequired ($activeId, $lastFinishedPass)
 archiveParticipantSubmission ($active, $pass)
 showRequestedHintListCmd ()
 Go to requested hint list.
 confirmHintRequestCmd ()
 Go to hint request confirmation.
 fillQuestionRelatedNavigation (assQuestionGUI $questionGUI)
 renders the elements for the question related navigation
 getMarkedQuestions ()
 prepareSummaryPage ()
 prepareTestPageOutput ()
 populateKioskHead ()
 handlePasswordProtectionRedirect ()
 isParticipantsAnswerFixed ($questionId)
 getIntroductionPageButtonLabel ()
- Protected Member Functions inherited from ilTestServiceGUI
 isPdfDeliveryRequest ()
 getPassDetailsOverview ($result_array, $active_id, $pass, $targetGUI, $targetCMD, $questionDetailsCMD, $questionAnchorNav)
 buildPassDetailsOverviewTableGUI ($targetGUI, $targetCMD)
 isGradingMessageRequired ()
 getGradingMessage ($activeId)

Private Member Functions

 performSkillTriggering ($activeId, $finishedPass, $userId)

Additional Inherited Members

- Public Member Functions inherited from ilTestOutputGUI
 executeCommand ()
 Execute Command.
 saveQuestionSolution ($force=FALSE)
 saves the user input of a question
- Data Fields inherited from ilTestPlayerAbstractGUI
 $ref_id
 $saveResult
 $sequence
 $cmdCtrl
 $maxProcessingTimeReached
 $endingTimeReached
- Protected Attributes inherited from ilTestPlayerAbstractGUI
 $passwordChecker
 $processLocker
 $testSession

Detailed Description

Definition at line 20 of file class.ilTestPlayerFixedQuestionSetGUI.php.

Member Function Documentation

ilTestPlayerFixedQuestionSetGUI::performSkillTriggering (   $activeId,
  $finishedPass,
  $userId 
)
private

Definition at line 44 of file class.ilTestPlayerFixedQuestionSetGUI.php.

Referenced by performTestPassFinishedTasks().

{
require_once 'Modules/Test/classes/class.ilTestSkillEvaluation.php';
$skillEvaluation = new ilTestSkillEvaluation($this->db, $this->object);
$skillEvaluation->init()->trigger($activeId, $finishedPass, $userId);
}

+ Here is the caller graph for this function:

ilTestPlayerFixedQuestionSetGUI::performTestPassFinishedTasks (   $finishedPass)
protected

Reimplemented from ilTestPlayerAbstractGUI.

Definition at line 22 of file class.ilTestPlayerFixedQuestionSetGUI.php.

References ilTestPlayerAbstractGUI\archiveParticipantSubmission(), and performSkillTriggering().

{
if( !$this->testSession->isSubmitted() )
{
$this->testSession->setSubmitted(1);
$this->testSession->setSubmittedTimestamp(date('Y-m-d H:i:s'));
$this->testSession->saveToDb();
}
if( $this->object->isSkillServiceToBeConsidered() )
{
$this->testSession->getActiveId(), $finishedPass, $this->testSession->getUserId()
);
}
if( $this->object->getEnableArchiving() )
{
$this->archiveParticipantSubmission($this->testSession->getActiveId(), $finishedPass);
}
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: