ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilTestPlayerCommands Class Reference
+ Collaboration diagram for ilTestPlayerCommands:

Static Public Member Functions

static isTestExecutionCommand ($cmd)
 

Data Fields

const START_TEST = 'startTest'
 
const INIT_TEST = 'initTest'
 
const START_PLAYER = 'startPlayer'
 
const RESUME_PLAYER = 'resumePlayer'
 
const DISPLAY_ACCESS_CODE = 'displayAccessCode'
 
const ACCESS_CODE_CONFIRMED = 'accessCodeConfirmed'
 
const SHOW_QUESTION = 'showQuestion'
 
const PREVIOUS_QUESTION = 'previousQuestion'
 
const NEXT_QUESTION = 'nextQuestion'
 
const EDIT_SOLUTION = 'editSolution'
 
const MARK_QUESTION = 'markQuestion'
 
const MARK_QUESTION_SAVE = 'markQuestionAndSaveIntermediate'
 
const UNMARK_QUESTION = 'unmarkQuestion'
 
const UNMARK_QUESTION_SAVE = 'unmarkQuestionAndSaveIntermediate'
 
const SUBMIT_INTERMEDIATE_SOLUTION = 'submitIntermediateSolution'
 
const SUBMIT_SOLUTION = 'submitSolution'
 
const SUBMIT_SOLUTION_AND_NEXT = 'submitSolutionAndNext'
 
const REVERT_CHANGES = 'revertChanges'
 
const DETECT_CHANGES = 'detectChanges'
 
const DISCARD_SOLUTION = 'discardSolution'
 
const SKIP_QUESTION = 'skipQuestion'
 
const SHOW_INSTANT_RESPONSE = 'showInstantResponse'
 
const CONFIRM_HINT_REQUEST = 'confirmHintRequest'
 
const SHOW_REQUESTED_HINTS_LIST = 'showRequestedHintList'
 
const QUESTION_SUMMARY = 'outQuestionSummary'
 
const QUESTION_SUMMARY_INC_OBLIGATIONS = 'outQuestionSummaryWithObligationsInfo'
 
const QUESTION_SUMMARY_OBLIGATIONS_ONLY = 'outObligationsOnlySummary'
 
const TOGGLE_SIDE_LIST = 'toggleSideList'
 
const SHOW_QUESTION_SELECTION = 'showQuestionSelection'
 
const UNFREEZE_ANSWERS = 'unfreezeCheckedQuestionsAnswers'
 
const AUTO_SAVE = 'autosave'
 
const AUTO_SAVE_ON_TIME_LIMIT = 'autosaveOnTimeLimit'
 
const REDIRECT_ON_TIME_LIMIT = 'redirectAfterAutosave'
 
const SUSPEND_TEST = 'suspendTest'
 
const FINISH_TEST = 'finishTest'
 
const AFTER_TEST_PASS_FINISHED = 'afterTestPassFinished'
 
const SHOW_FINAL_STATMENT = 'showFinalStatement'
 
const BACK_TO_INFO_SCREEN = 'backToInfoScreen'
 
const BACK_FROM_FINISHING = 'backFromFinishing'
 

Static Private Attributes

static $nonExecutionCommands
 

Detailed Description

Definition at line 11 of file class.ilTestPlayerCommands.php.

Member Function Documentation

◆ isTestExecutionCommand()

static ilTestPlayerCommands::isTestExecutionCommand (   $cmd)
static
Parameters
$cmd
Returns
bool

Definition at line 81 of file class.ilTestPlayerCommands.php.

Referenced by ilTestOutputGUI\executeCommand().

82  {
83  return !in_array($cmd, self::$nonExecutionCommands);
84  }
+ Here is the caller graph for this function:

Field Documentation

◆ $nonExecutionCommands

ilTestPlayerCommands::$nonExecutionCommands
staticprivate
Initial value:
= array(
self::DETECT_CHANGES,
self::AUTO_SAVE, self::AUTO_SAVE_ON_TIME_LIMIT, self::REDIRECT_ON_TIME_LIMIT,
self::AFTER_TEST_PASS_FINISHED, self::SHOW_FINAL_STATMENT
)

Definition at line 69 of file class.ilTestPlayerCommands.php.

◆ ACCESS_CODE_CONFIRMED

const ilTestPlayerCommands::ACCESS_CODE_CONFIRMED = 'accessCodeConfirmed'

◆ AFTER_TEST_PASS_FINISHED

◆ AUTO_SAVE

const ilTestPlayerCommands::AUTO_SAVE = 'autosave'

◆ AUTO_SAVE_ON_TIME_LIMIT

const ilTestPlayerCommands::AUTO_SAVE_ON_TIME_LIMIT = 'autosaveOnTimeLimit'

◆ BACK_FROM_FINISHING

const ilTestPlayerCommands::BACK_FROM_FINISHING = 'backFromFinishing'

◆ BACK_TO_INFO_SCREEN

const ilTestPlayerCommands::BACK_TO_INFO_SCREEN = 'backToInfoScreen'

◆ CONFIRM_HINT_REQUEST

const ilTestPlayerCommands::CONFIRM_HINT_REQUEST = 'confirmHintRequest'

◆ DETECT_CHANGES

const ilTestPlayerCommands::DETECT_CHANGES = 'detectChanges'

◆ DISCARD_SOLUTION

const ilTestPlayerCommands::DISCARD_SOLUTION = 'discardSolution'

◆ DISPLAY_ACCESS_CODE

const ilTestPlayerCommands::DISPLAY_ACCESS_CODE = 'displayAccessCode'

Definition at line 18 of file class.ilTestPlayerCommands.php.

Referenced by ilTestPlayerAbstractGUI\initTestCmd().

◆ EDIT_SOLUTION

const ilTestPlayerCommands::EDIT_SOLUTION = 'editSolution'

◆ FINISH_TEST

const ilTestPlayerCommands::FINISH_TEST = 'finishTest'

◆ INIT_TEST

const ilTestPlayerCommands::INIT_TEST = 'initTest'

◆ MARK_QUESTION

const ilTestPlayerCommands::MARK_QUESTION = 'markQuestion'

◆ MARK_QUESTION_SAVE

const ilTestPlayerCommands::MARK_QUESTION_SAVE = 'markQuestionAndSaveIntermediate'

◆ NEXT_QUESTION

const ilTestPlayerCommands::NEXT_QUESTION = 'nextQuestion'

◆ PREVIOUS_QUESTION

const ilTestPlayerCommands::PREVIOUS_QUESTION = 'previousQuestion'

◆ QUESTION_SUMMARY

const ilTestPlayerCommands::QUESTION_SUMMARY = 'outQuestionSummary'

◆ QUESTION_SUMMARY_INC_OBLIGATIONS

const ilTestPlayerCommands::QUESTION_SUMMARY_INC_OBLIGATIONS = 'outQuestionSummaryWithObligationsInfo'

◆ QUESTION_SUMMARY_OBLIGATIONS_ONLY

const ilTestPlayerCommands::QUESTION_SUMMARY_OBLIGATIONS_ONLY = 'outObligationsOnlySummary'

◆ REDIRECT_ON_TIME_LIMIT

const ilTestPlayerCommands::REDIRECT_ON_TIME_LIMIT = 'redirectAfterAutosave'

◆ RESUME_PLAYER

const ilTestPlayerCommands::RESUME_PLAYER = 'resumePlayer'

◆ REVERT_CHANGES

const ilTestPlayerCommands::REVERT_CHANGES = 'revertChanges'

◆ SHOW_FINAL_STATMENT

const ilTestPlayerCommands::SHOW_FINAL_STATMENT = 'showFinalStatement'

◆ SHOW_INSTANT_RESPONSE

const ilTestPlayerCommands::SHOW_INSTANT_RESPONSE = 'showInstantResponse'

◆ SHOW_QUESTION

const ilTestPlayerCommands::SHOW_QUESTION = 'showQuestion'

Definition at line 21 of file class.ilTestPlayerCommands.php.

Referenced by ilTestPlayerAbstractGUI\backFromFinishingCmd(), ilTestQuestionSideListGUI\buildLink(), ilTestPlayerDynamicQuestionSetGUI\discardSolutionCmd(), ilTestOutputGUI\discardSolutionCmd(), ilTestPlayerDynamicQuestionSetGUI\editSolutionCmd(), ilTestOutputGUI\editSolutionCmd(), ilTestOutputGUI\executeCommand(), ilTestPlayerDynamicQuestionSetGUI\executeCommand(), ilListOfQuestionsTableGUI\fillRow(), ilTestPlayerDynamicQuestionSetGUI\fromPassDeletionCmd(), ilTestPlayerDynamicQuestionSetGUI\getStartTestFromQuestionSelectionLink(), ilTestOutputGUI\handleQuestionActionCmd(), ilTestPlayerDynamicQuestionSetGUI\handleQuestionActionCmd(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), ilListOfQuestionsTableGUI\init(), ilTestPlayerDynamicQuestionSetGUI\markQuestionCmd(), ilTestPlayerAbstractGUI\markQuestionCmd(), ilTestPlayerDynamicQuestionSetGUI\nextQuestionCmd(), ilTestOutputGUI\nextQuestionCmd(), ilTestOutputGUI\previousQuestionCmd(), ilTestQuestionSideListGUI\renderList(), ilTestPlayerDynamicQuestionSetGUI\resumePlayerCmd(), ilTestOutputGUI\resumePlayerCmd(), ilTestPlayerAbstractGUI\revertChangesCmd(), ilTestPlayerDynamicQuestionSetGUI\showCheckedQuestionResettingConfirmation(), ilTestPlayerDynamicQuestionSetGUI\showInstantResponseCmd(), ilTestOutputGUI\showInstantResponseCmd(), ilTestOutputGUI\skipQuestionCmd(), ilTestOutputGUI\startTestCmd(), ilTestPlayerDynamicQuestionSetGUI\startTestCmd(), ilTestPlayerAbstractGUI\submitIntermediateSolutionCmd(), ilTestPlayerDynamicQuestionSetGUI\submitSolutionAndNextCmd(), ilTestOutputGUI\submitSolutionAndNextCmd(), ilTestPlayerDynamicQuestionSetGUI\submitSolutionCmd(), ilTestOutputGUI\submitSolutionCmd(), ilTestPlayerAbstractGUI\toggleSideListCmd(), ilTestPlayerDynamicQuestionSetGUI\unfreezeCheckedQuestionsAnswersCmd(), ilTestPlayerDynamicQuestionSetGUI\unmarkQuestionCmd(), and ilTestPlayerAbstractGUI\unmarkQuestionCmd().

◆ SHOW_QUESTION_SELECTION

◆ SHOW_REQUESTED_HINTS_LIST

const ilTestPlayerCommands::SHOW_REQUESTED_HINTS_LIST = 'showRequestedHintList'

◆ SKIP_QUESTION

const ilTestPlayerCommands::SKIP_QUESTION = 'skipQuestion'

◆ START_PLAYER

const ilTestPlayerCommands::START_PLAYER = 'startPlayer'

Definition at line 15 of file class.ilTestPlayerCommands.php.

◆ START_TEST

const ilTestPlayerCommands::START_TEST = 'startTest'

◆ SUBMIT_INTERMEDIATE_SOLUTION

const ilTestPlayerCommands::SUBMIT_INTERMEDIATE_SOLUTION = 'submitIntermediateSolution'

◆ SUBMIT_SOLUTION

const ilTestPlayerCommands::SUBMIT_SOLUTION = 'submitSolution'

◆ SUBMIT_SOLUTION_AND_NEXT

const ilTestPlayerCommands::SUBMIT_SOLUTION_AND_NEXT = 'submitSolutionAndNext'

Definition at line 34 of file class.ilTestPlayerCommands.php.

◆ SUSPEND_TEST

const ilTestPlayerCommands::SUSPEND_TEST = 'suspendTest'

◆ TOGGLE_SIDE_LIST

const ilTestPlayerCommands::TOGGLE_SIDE_LIST = 'toggleSideList'

◆ UNFREEZE_ANSWERS

const ilTestPlayerCommands::UNFREEZE_ANSWERS = 'unfreezeCheckedQuestionsAnswers'

◆ UNMARK_QUESTION

const ilTestPlayerCommands::UNMARK_QUESTION = 'unmarkQuestion'

◆ UNMARK_QUESTION_SAVE

const ilTestPlayerCommands::UNMARK_QUESTION_SAVE = 'unmarkQuestionAndSaveIntermediate'

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