ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5
|
Basic GUI class for assessment questions. More...
Public Member Functions | |
__construct () | |
assQuestionGUI constructor More... | |
& | executeCommand () |
execute command More... | |
getCommand ($cmd) | |
getType () | |
needed for page editor compliance More... | |
getPresentationContext () | |
setPresentationContext ($presentationContext) | |
isTestPresentationContext () | |
isPreviousSolutionPrefilled () | |
setPreviousSolutionPrefilled ($previousSolutionPrefilled) | |
getOutputMode () | |
setOutputMode ($outputMode) | |
isPdfOutputMode () | |
isContentEditingOutputMode () | |
getNavigationGUI () | |
setNavigationGUI ($navigationGUI) | |
setTaxonomyIds ($taxonomyIds) | |
getTaxonomyIds () | |
setTargetGui ($linkTargetGui) | |
setTargetGuiClass ($targetGuiClass) | |
getTargetGuiClass () | |
setQuestionHeaderBlockBuilder ($questionHeaderBlockBuilder) | |
setQuestionActionCmd ($questionActionCmd) | |
getQuestionActionCmd () | |
& | _getQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls. More... | |
_getGUIClassNameForId ($a_q_id) | |
_getClassNameForQType ($q_type) | |
& | createQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation. More... | |
getQuestionTemplate () | |
get question template More... | |
getILIASPage ($html="") | |
Returns the ILIAS Page around a question. More... | |
outQuestionPage ($a_temp_var, $a_postponed=false, $active_id="", $html="") | |
output question page More... | |
cancel () | |
cancel action More... | |
originalSyncForm ($return_to="", $return_to_feedback='') | |
sync () | |
cancelSync () | |
saveEdit () | |
save question More... | |
save () | |
save question More... | |
saveReturn () | |
save question More... | |
apply () | |
apply changes More... | |
getContextPath ($cont_obj, $a_endnode_id, $a_startnode_id=1) | |
get context path in content object tree More... | |
setSequenceNumber ($nr) | |
getSequenceNumber () | |
setQuestionCount ($a_question_count) | |
getQuestionCount () | |
getErrorMessage () | |
setErrorMessage ($errormessage) | |
addErrorMessage ($errormessage) | |
outAdditionalOutput () | |
getQuestionType () | |
Returns the question type string. More... | |
getAsValueAttribute ($a_value) | |
Returns a HTML value attribute. More... | |
addNewIdListener (&$a_object, $a_method, $a_parameters="") | |
Add a listener that is notified with the new question ID, when a new question is saved. More... | |
callNewIdListeners ($a_new_id) | |
Call the new id listeners. More... | |
addQuestionFormCommandButtons ($form) | |
Add the command buttons of a question properties form. More... | |
addBasicQuestionFormProperties ($form) | |
Add basic question form properties: assessment: title, author, description, question, working time. More... | |
getAnswerFeedbackOutput ($active_id, $pass) | |
Returns the answer generic feedback depending on the results of the question. More... | |
getGenericFeedbackOutput ($active_id, $pass) | |
Returns the answer specific feedback for the question. More... | |
getGenericFeedbackOutputForCorrectSolution () | |
getGenericFeedbackOutputForIncorrectSolution () | |
getSpecificFeedbackOutput ($active_id, $pass) | |
Returns the answer specific feedback for the question. More... | |
outQuestionType () | |
showSuggestedSolution () | |
suggestedsolution () | |
Allows to add suggested solutions for questions. More... | |
outSolutionExplorer () | |
saveSuggestedSolution () | |
cancelExplorer () | |
outPageSelector () | |
outChapterSelector () | |
outGlossarySelector () | |
linkChilds () | |
addPG () | |
addST () | |
addGIT () | |
isSaveCommand () | |
setQuestionTabs () | |
addTab_SuggestedSolution (ilTabsGUI $tabs, $classname) | |
getEditQuestionTabCommands () | |
getSolutionOutput ( $active_id, $pass=NULL, $graphicalOutput=FALSE, $result_output=FALSE, $show_question_only=TRUE, $show_feedback=FALSE, $show_correct_solution=FALSE, $show_manual_scoring=FALSE, $show_question_text=TRUE) | |
isAutosaveable () | |
getPreview ($show_question_only=FALSE, $showInlineFeedback=false) | |
outQuestionForTest ( $formaction, $active_id, $pass, $is_question_postponed=FALSE, $user_post_solutions=FALSE, $show_specific_inline_feedback=FALSE) | |
magicAfterTestOutput () | |
getTestOutput ( $active_id, $pass, $is_question_postponed, $user_post_solutions, $show_specific_inline_feedback) | |
getFormEncodingType () | |
setPreviewSession ($previewSession) | |
getPreviewSession () | |
showHints () | |
Static Public Member Functions | |
static | getCommandsFromClassConstants ($guiClassName, $cmdConstantNameBegin='CMD_') |
extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants More... | |
Data Fields | |
const | FORM_MODE_EDIT = 'edit' |
const | FORM_MODE_ADJUST = 'adjust' |
const | FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
const | FORM_ENCODING_MULTIPART = 'multipart/form-data' |
const | SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
$object | |
$tpl | |
$lng | |
$error | |
$errormessage | |
$sequence_no | |
sequence number in test More... | |
$question_count | |
question count in test More... | |
const | PRESENTATION_CONTEXT_TEST = 'pContextTest' |
const | PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
const | OUTPUT_MODE_SCREEN = 'outModeScreen' |
const | OUTPUT_MODE_PDF = 'outModePdf' |
const | OUTPUT_MODE_CONTENT_EDITING = 'outModeUsrSol' |
Protected Member Functions | |
writePostData () | |
Evaluates a posted edit form and writes the form data in the question object. More... | |
getPreviousSolutionProvidedMessage () | |
saveTaxonomyAssignments () | |
populateTaxonomyFormSection (ilPropertyFormGUI $form) | |
isLastSolutionSubmitAuthorized ($active_id, $pass) | |
fetches solutions from database and prefers intermediate solutions, but falls back to authorized solutions. More... | |
getBasicEditQuestionTabCommands () | |
getAdditionalEditQuestionCommands () | |
addTab_QuestionFeedback (ilTabsGUI $tabs) | |
adds the feedback tab to ilTabsGUI More... | |
addTab_QuestionHints (ilTabsGUI $tabs) | |
adds the hints tab to ilTabsGUI More... | |
addTab_QuestionPreview (ilTabsGUI $tabsGUI) | |
hasCorrectSolution ($activeId, $passIndex) | |
writeQuestionGenericPostData () | |
completeTestOutputFormAction ($formAction, $active_id, $pass) | |
getTestOutputSolutions ($activeId, $pass) | |
addBackTab (ilTabsGUI $ilTabs) | |
buildBasicEditFormObject () | |
Private Attributes | |
$taxonomyIds = array() | |
$targetGuiClass = null | |
$questionActionCmd = 'handleQuestionAction' | |
$questionHeaderBlockBuilder | |
$navigationGUI | |
$presentationContext = null | |
$outputMode = self::OUTPUT_MODE_SCREEN | |
$previousSolutionPrefilled = false | |
$previewSession | |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
assQuestionGUI: ilAssQuestionPageGUI
Definition at line 19 of file class.assQuestionGUI.php.
assQuestionGUI::__construct | ( | ) |
assQuestionGUI constructor
Definition at line 95 of file class.assQuestionGUI.php.
References $ilCtrl, $lng, and $tpl.
assQuestionGUI::_getClassNameForQType | ( | $q_type | ) |
Definition at line 370 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
assQuestionGUI::_getGUIClassNameForId | ( | $a_q_id | ) |
Definition at line 358 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
& assQuestionGUI::_getQuestionGUI | ( | $question_type, | |
$question_id = -1 |
|||
) |
Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls.
string | $question_type | The question type as it is used in the language database |
integer | $question_id | The database ID of an existing question to load it into assQuestionGUI |
Definition at line 326 of file class.assQuestionGUI.php.
References $ilCtrl, $ilDB, $lng, assQuestion\_includeClass(), assQuestion\getFeedbackClassNameByQuestionType(), assQuestion\getGuiClassNameByQuestionType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestExpressPageObjectGUI\addPageOfQuestions(), ilObjQuestionPoolGUI\createQuestionForTestObject(), createQuestionGUI(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilObjQuestionPoolGUI\editQuestionForTestObject(), ilTestExpressPageObjectGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionExporter\exportQuestion(), ilObjAssessmentFolder\fetchScoringAdjustableTypes(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestion\modifyPageContentPostXsl(), ilAssQuestionSkillAssignmentsGUI\saveSkillQuestionAssignmentPropertiesFormCmd(), ilObjQuestionPoolGUI\setTitleAndDescription(), and ilAssQuestionSkillAssignmentsGUI\showSkillQuestionAssignmentPropertiesFormCmd().
|
protected |
ilTabsGUI | $ilTabs |
Definition at line 2120 of file class.assQuestionGUI.php.
References $_GET, $GLOBALS, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilTabsGUI\setBackTarget().
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) |
Add basic question form properties: assessment: title, author, description, question, working time.
Definition at line 1019 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTags(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), ilUtil\prepareFormOutput(), ilTextInputGUI\setMaxLength(), ilDurationInputGUI\setShowHours(), ilTextInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::addErrorMessage | ( | $errormessage | ) |
Definition at line 927 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
assQuestionGUI::addGIT | ( | ) |
Definition at line 1780 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
assQuestionGUI::addNewIdListener | ( | & | $a_object, |
$a_method, | |||
$a_parameters = "" |
|||
) |
Add a listener that is notified with the new question ID, when a new question is saved.
Definition at line 971 of file class.assQuestionGUI.php.
assQuestionGUI::addPG | ( | ) |
Definition at line 1756 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
assQuestionGUI::addQuestionFormCommandButtons | ( | $form | ) |
Add the command buttons of a question properties form.
Definition at line 1003 of file class.assQuestionGUI.php.
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assOrderingQuestionGUI\editQuestion().
assQuestionGUI::addST | ( | ) |
Definition at line 1768 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
|
protected |
adds the feedback tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 1927 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), and ilAssQuestionFeedbackEditingGUI\CMD_SHOW.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
|
protected |
adds the hints tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 1958 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
|
protected |
Definition at line 1987 of file class.assQuestionGUI.php.
References $pass, ilTabsGUI\addTarget(), ilAssQuestionPreviewGUI\CMD_SHOW, getSolutionOutput(), and ilAssQuestionPreviewGUI\TAB_ID_QUESTION_PREVIEW.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
$classname | |||
) |
Definition at line 1891 of file class.assQuestionGUI.php.
References $_GET, and ilTabsGUI\addTarget().
Referenced by assNumericGUI\getTestOutput(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::apply | ( | ) |
apply changes
Definition at line 863 of file class.assQuestionGUI.php.
References writePostData().
|
protected |
Definition at line 2181 of file class.assQuestionGUI.php.
References getType(), and outQuestionType().
Referenced by assLongMenuGUI\buildEditForm(), and assKprimChoiceGUI\buildEditForm().
assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) |
Call the new id listeners.
Definition at line 983 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
assQuestionGUI::cancel | ( | ) |
cancel action
Definition at line 470 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1596 of file class.assQuestionGUI.php.
assQuestionGUI::cancelSync | ( | ) |
Definition at line 565 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
|
protected |
Definition at line 2081 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
& assQuestionGUI::createQuestionGUI | ( | $question_type, | |
$question_id = -1 |
|||
) |
Creates a question gui representation.
Creates a question gui representation and returns the alias to the question gui
string | $question_type | The question type as it is used in the language database |
integer | $question_id | The database ID of an existing question to load it into assQuestionGUI |
Definition at line 387 of file class.assQuestionGUI.php.
References _getQuestionGUI().
& assQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 127 of file class.assQuestionGUI.php.
References $cmd, $ret, and getCommand().
|
protected |
Definition at line 1916 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
assQuestionGUI::getAnswerFeedbackOutput | ( | $active_id, | |
$pass | |||
) |
Returns the answer generic feedback depending on the results of the question.
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Definition at line 1192 of file class.assQuestionGUI.php.
References $pass, and getGenericFeedbackOutput().
Referenced by assTextSubsetGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), and assOrderingQuestionGUI\getSolutionOutput().
assQuestionGUI::getAsValueAttribute | ( | $a_value | ) |
Returns a HTML value attribute.
mixed | $a_value | A given text or value |
Definition at line 956 of file class.assQuestionGUI.php.
References $result.
|
protected |
Definition at line 1911 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
assQuestionGUI::getCommand | ( | $cmd | ) |
Definition at line 143 of file class.assQuestionGUI.php.
References $cmd.
Referenced by executeCommand().
|
static |
extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants
string | $guiClassName | |
string | $cmdConstantNameBegin |
Definition at line 1805 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
assQuestionGUI::getContextPath | ( | $cont_obj, | |
$a_endnode_id, | |||
$a_startnode_id = 1 |
|||
) |
get context path in content object tree
int | $a_endnode_id | id of endnode |
int | $a_startnode_id | id of startnode |
Definition at line 877 of file class.assQuestionGUI.php.
References $path.
Referenced by outPageSelector().
|
final |
Definition at line 1906 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
Referenced by setQuestionTabs().
assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 917 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assFlashQuestionGUI\suggestRange(), and assFormulaQuestionGUI\suggestRange().
assQuestionGUI::getFormEncodingType | ( | ) |
Definition at line 2112 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getGenericFeedbackOutput | ( | $active_id, | |
$pass | |||
) |
Returns the answer specific feedback for the question.
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Definition at line 1206 of file class.assQuestionGUI.php.
References $pass, ilObjTest\getManualFeedback(), and isLastSolutionSubmitAuthorized().
Referenced by getAnswerFeedbackOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), and ilTestPlayerAbstractGUI\populateGenericFeedbackBlock().
assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) |
Definition at line 1234 of file class.assQuestionGUI.php.
assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) |
Definition at line 1241 of file class.assQuestionGUI.php.
References $pass, and getSpecificFeedbackOutput().
assQuestionGUI::getILIASPage | ( | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 409 of file class.assQuestionGUI.php.
References $html, and ilPageObjectGUI\setQuestionHTML().
Referenced by assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assErrorTextGUI\getPreview(), assFileUploadGUI\getPreview(), assFlashQuestionGUI\getPreview(), assLongMenuGUI\getPreview(), assTextQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assJavaAppletGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), and assFileUploadGUI\getTestOutput().
assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 224 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
assQuestionGUI::getOutputMode | ( | ) |
Definition at line 198 of file class.assQuestionGUI.php.
References $outputMode.
Referenced by isContentEditingOutputMode(), isPdfOutputMode(), and suggestedsolution().
assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 159 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
|
abstract |
assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 2173 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assErrorTextGUI\getPreview(), assFileUploadGUI\getPreview(), assLongMenuGUI\getPreview(), assTextQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assFormulaQuestionGUI\getPreview(), and assFormulaQuestionGUI\getSolutionOutput().
|
protected |
Definition at line 461 of file class.assQuestionGUI.php.
Referenced by outQuestionPage().
assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 280 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 912 of file class.assQuestionGUI.php.
References $question_count.
assQuestionGUI::getQuestionTemplate | ( | ) |
get question template
Definition at line 396 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assKprimChoiceGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assLongMenuGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::getQuestionType | ( | ) |
Returns the question type string.
Returns the question type string
Definition at line 944 of file class.assQuestionGUI.php.
Referenced by ilScoringAdjustmentGUI\allowedInAdjustment(), and getType().
assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 902 of file class.assQuestionGUI.php.
References $sequence_no.
|
abstract |
Referenced by addTab_QuestionPreview(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\showQuestionViewable(), and suggestedsolution().
|
abstract |
Returns the answer specific feedback for the question.
This method should be overwritten by the actual question.
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Referenced by getGenericFeedbackOutputForIncorrectSolution().
assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 257 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 242 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
|
abstract |
Referenced by magicAfterTestOutput(), and outQuestionForTest().
|
protected |
Definition at line 2101 of file class.assQuestionGUI.php.
References $pass, and isPreviousSolutionPrefilled().
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assNumericGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), and assLongMenuGUI\getUserSolution().
assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 151 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
|
protected |
Definition at line 2011 of file class.assQuestionGUI.php.
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assFormulaQuestionGUI\getSolutionOutput().
assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 2019 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateIntermediateSolutionSaver().
assQuestionGUI::isContentEditingOutputMode | ( | ) |
Definition at line 216 of file class.assQuestionGUI.php.
References getOutputMode().
Referenced by assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\populateSolutiontextToGapTpl().
|
protected |
fetches solutions from database and prefers intermediate solutions, but falls back to authorized solutions.
without any solution null is returned.
Definition at line 1170 of file class.assQuestionGUI.php.
References $pass.
Referenced by assClozeTestGUI\getAnswerFeedbackOutput(), and getGenericFeedbackOutput().
assQuestionGUI::isPdfOutputMode | ( | ) |
Definition at line 211 of file class.assQuestionGUI.php.
References getOutputMode().
Referenced by assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\populateSolutiontextToGapTpl().
assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 181 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
Referenced by assFormulaQuestionGUI\getTestOutput(), getTestOutputSolutions(), and outQuestionPage().
assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1792 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assOrderingQuestionGUI\editQuestion().
assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 172 of file class.assQuestionGUI.php.
References getPresentationContext().
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\getSolutionOutput().
assQuestionGUI::linkChilds | ( | ) |
Definition at line 1733 of file class.assQuestionGUI.php.
References $_GET, outChapterSelector(), outGlossarySelector(), outPageSelector(), and ilUtil\sendSuccess().
assQuestionGUI::magicAfterTestOutput | ( | ) |
Definition at line 2087 of file class.assQuestionGUI.php.
References $pass, and getTestOutput().
Referenced by outQuestionForTest().
assQuestionGUI::originalSyncForm | ( | $return_to = "" , |
|
$return_to_feedback = '' |
|||
) |
string | $return_to | |
string | $return_to_feedback | ilAssQuestionFeedbackEditingGUI |
Definition at line 500 of file class.assQuestionGUI.php.
References $_REQUEST.
Referenced by suggestedsolution().
assQuestionGUI::outAdditionalOutput | ( | ) |
Definition at line 932 of file class.assQuestionGUI.php.
assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1668 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\stripSlashes().
Referenced by linkChilds().
assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1703 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1601 of file class.assQuestionGUI.php.
References $_GET, getContextPath(), ilLMPageObject\getPageList(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by linkChilds().
|
final |
string | $formaction | |
integer | $active_id | |
integer | null | $pass | |
bool | $is_question_postponed | |
bool | $user_post_solutions | |
bool | $show_specific_inline_feedback |
Definition at line 2051 of file class.assQuestionGUI.php.
References $pass, completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), and magicAfterTestOutput().
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false , |
|||
$active_id = "" , |
|||
$html = "" |
|||
) |
output question page
Definition at line 423 of file class.assQuestionGUI.php.
References $html, getNavigationGUI(), getPreviousSolutionProvidedMessage(), isPreviousSolutionPrefilled(), ilUtil\sendInfo(), and ilPageObjectGUI\setOutputMode().
Referenced by assTextSubsetGUI\getTestOutput(), assNumericGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1261 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_getQuestionTypeName(), assQuestion\_questionExistsInPool(), and ilUtil\sendInfo().
Referenced by buildBasicEditFormObject(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1520 of file class.assQuestionGUI.php.
References $_GET, ilUtil\sendInfo(), and ilExplorer\setExpand().
|
protected |
Definition at line 1140 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addItem(), getTaxonomyIds(), and ilTaxAssignInputGUI\setCurrentValues().
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::save | ( | ) |
save question
in express mode, so add question to test directly
Definition at line 662 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Referenced by assFormulaQuestionGUI\saveFQ().
assQuestionGUI::saveEdit | ( | ) |
save question
Definition at line 604 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveReturn | ( | ) |
save question
Definition at line 776 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1556 of file class.assQuestionGUI.php.
References $_POST, and suggestedsolution().
|
protected |
Definition at line 1123 of file class.assQuestionGUI.php.
References getTaxonomyIds().
Referenced by assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assFileUploadGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assErrorTextGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assFlashQuestionGUI\writePostData(), assLongMenuGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), assOrderingQuestionGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
assQuestionGUI::setErrorMessage | ( | $errormessage | ) |
Definition at line 922 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assOrderingHorizontalGUI\__construct(), assFileUploadGUI\__construct(), assMatchingQuestionGUI\__construct(), assErrorTextGUI\__construct(), and assFlashQuestionGUI\writeQuestionSpecificPostData().
assQuestionGUI::setNavigationGUI | ( | $navigationGUI | ) |
ilTestQuestionNavigationGUI | $navigationGUI |
Definition at line 232 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::setOutputMode | ( | $outputMode | ) |
string | $outputMode |
Definition at line 206 of file class.assQuestionGUI.php.
References $outputMode.
Referenced by suggestedsolution().
assQuestionGUI::setPresentationContext | ( | $presentationContext | ) |
string | $presentationContext |
Definition at line 167 of file class.assQuestionGUI.php.
References $presentationContext.
assQuestionGUI::setPreviewSession | ( | $previewSession | ) |
\ilAssQuestionPreviewSession | $previewSession |
Definition at line 2165 of file class.assQuestionGUI.php.
References $previewSession.
assQuestionGUI::setPreviousSolutionPrefilled | ( | $previousSolutionPrefilled | ) |
boolean | $previousSolutionPrefilled |
Definition at line 189 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
assQuestionGUI::setQuestionActionCmd | ( | $questionActionCmd | ) |
assQuestionGUI::setQuestionCount | ( | $a_question_count | ) |
Definition at line 907 of file class.assQuestionGUI.php.
assQuestionGUI::setQuestionHeaderBlockBuilder | ( | $questionHeaderBlockBuilder | ) |
\ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder |
Definition at line 265 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1827 of file class.assQuestionGUI.php.
References $_GET, $url, addBackTab(), addTab_QuestionFeedback(), addTab_QuestionHints(), addTab_QuestionPreview(), addTab_SuggestedSolution(), and getEditQuestionTabCommands().
Referenced by assNumericGUI\getTestOutput().
assQuestionGUI::setSequenceNumber | ( | $nr | ) |
Definition at line 897 of file class.assQuestionGUI.php.
assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 247 of file class.assQuestionGUI.php.
References setTargetGuiClass().
assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 252 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
assQuestionGUI::setTaxonomyIds | ( | $taxonomyIds | ) |
assQuestionGUI::showHints | ( | ) |
Definition at line 2198 of file class.assQuestionGUI.php.
References $ilCtrl, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
assQuestionGUI::showSuggestedSolution | ( | ) |
Definition at line 1277 of file class.assQuestionGUI.php.
References suggestedsolution().
assQuestionGUI::suggestedsolution | ( | ) |
Allows to add suggested solutions for questions.
public
Definition at line 1287 of file class.assQuestionGUI.php.
References $_GET, $_POST, $file, $ilUser, $options, $res, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), getOutputMode(), getSolutionOutput(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\renameExecutables(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilCustomInputGUI\setHtml(), setOutputMode(), and ilTextAreaInputGUI\setValue().
Referenced by saveSuggestedSolution(), and showSuggestedSolution().
assQuestionGUI::sync | ( | ) |
Definition at line 524 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 291 of file class.assQuestionGUI.php.
References $tpl.
Referenced by assTextSubsetGUI\addanswers(), assOrderingQuestionGUI\addanswers(), assSingleChoiceGUI\addchoice(), assMultipleChoiceGUI\addchoice(), assMatchingQuestionGUI\adddefinitions(), assClozeTestGUI\addgap(), assJavaAppletGUI\addkvp(), assMatchingQuestionGUI\addpairs(), assTextQuestionGUI\addSuggestedSolution(), assMatchingQuestionGUI\addterms(), assErrorTextGUI\analyze(), apply(), assOrderingQuestionGUI\changeToPictures(), assOrderingQuestionGUI\changeToText(), assClozeTestGUI\createGaps(), assImagemapQuestionGUI\deleteImage(), assOrderingQuestionGUI\downanswers(), assFlashQuestionGUI\flashAddParam(), assOrderingQuestionGUI\orderNestedPictures(), assOrderingQuestionGUI\orderNestedTerms(), assFormulaQuestionGUI\parseQuestion(), assTextSubsetGUI\removeanswers(), assOrderingQuestionGUI\removeanswers(), assImagemapQuestionGUI\removeArea(), assSingleChoiceGUI\removechoice(), assMultipleChoiceGUI\removechoice(), assMatchingQuestionGUI\removedefinitions(), assClozeTestGUI\removegap(), assOrderingQuestionGUI\removeimageanswers(), assSingleChoiceGUI\removeimagechoice(), assMultipleChoiceGUI\removeimagechoice(), assMatchingQuestionGUI\removeimagedefinitions(), assMatchingQuestionGUI\removeimageterms(), assJavaAppletGUI\removekvp(), assMatchingQuestionGUI\removepairs(), assMatchingQuestionGUI\removeterms(), save(), saveEdit(), assFormulaQuestionGUI\saveFQ(), saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), assFlashQuestionGUI\suggestRange(), assFormulaQuestionGUI\suggestRange(), assOrderingQuestionGUI\upanswers(), assOrderingQuestionGUI\uploadanswers(), assSingleChoiceGUI\uploadchoice(), assMultipleChoiceGUI\uploadchoice(), assMatchingQuestionGUI\uploaddefinitions(), assKprimChoiceGUI\uploadImage(), and assMatchingQuestionGUI\uploadterms().
|
protected |
Definition at line 2024 of file class.assQuestionGUI.php.
References $_POST, getPreview(), and ilUtil\stripOnlySlashes().
Referenced by assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assFileUploadGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assErrorTextGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assLongMenuGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::$error |
Definition at line 40 of file class.assQuestionGUI.php.
assQuestionGUI::$errormessage |
Definition at line 41 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
assQuestionGUI::$lng |
Definition at line 39 of file class.assQuestionGUI.php.
Referenced by __construct(), _getQuestionGUI(), and assClozeTestGUI\getSpecificFeedbackOutput().
|
private |
Definition at line 66 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
assQuestionGUI::$object |
Definition at line 36 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\isSaveCommand().
|
private |
Definition at line 83 of file class.assQuestionGUI.php.
Referenced by getOutputMode(), and setOutputMode().
|
private |
Definition at line 74 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
|
private |
Definition at line 2160 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
|
private |
Definition at line 89 of file class.assQuestionGUI.php.
Referenced by isPreviousSolutionPrefilled(), and setPreviousSolutionPrefilled().
assQuestionGUI::$question_count |
question count in test
Definition at line 50 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
|
private |
Definition at line 56 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
|
private |
Definition at line 61 of file class.assQuestionGUI.php.
Referenced by setQuestionHeaderBlockBuilder().
assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 46 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
private |
Definition at line 54 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 52 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
assQuestionGUI::$tpl |
Definition at line 38 of file class.assQuestionGUI.php.
Referenced by __construct(), assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), assOrderingQuestionGUI\getPreview(), assLongMenuGUI\getSelectGapTemplate(), assOrderingQuestionGUI\getTestOutput(), assLongMenuGUI\getTextGapTemplate(), assLongMenuGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assNumericGUI\renderAggregateView(), assTextSubsetGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assKprimChoiceGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assImagemapQuestionGUI\renderAggregateView(), assMultipleChoiceGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), and writePostData().
const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 25 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 24 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 22 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 21 of file class.assQuestionGUI.php.
const assQuestionGUI::OUTPUT_MODE_CONTENT_EDITING = 'outModeUsrSol' |
Definition at line 78 of file class.assQuestionGUI.php.
const assQuestionGUI::OUTPUT_MODE_PDF = 'outModePdf' |
Definition at line 77 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getCorrectSolutionOutput(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getQuestionResultForTestUsers(), and ilObjTestGUI\printobject().
const assQuestionGUI::OUTPUT_MODE_SCREEN = 'outModeScreen' |
Definition at line 76 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 69 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 68 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 27 of file class.assQuestionGUI.php.