ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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) | |
getRenderPurpose () | |
setRenderPurpose ($renderPurpose) | |
isRenderPurposePrintPdf () | |
isRenderPurposePreview () | |
isRenderPurposeInputValue () | |
isRenderPurposePlayback () | |
isRenderPurposeDemoplay () | |
renderPurposeSupportsFormHtml () | |
getEditContext () | |
setEditContext ($editContext) | |
isAuthoringEditContext () | |
isAdjustmentEditContext () | |
setAdjustmentEditContext () | |
getNavigationGUI () | |
setNavigationGUI ($navigationGUI) | |
setTaxonomyIds ($taxonomyIds) | |
getTaxonomyIds () | |
setTargetGui ($linkTargetGui) | |
setTargetGuiClass ($targetGuiClass) | |
getTargetGuiClass () | |
setQuestionHeaderBlockBuilder ($questionHeaderBlockBuilder) | |
getQuestionHeaderBlockBuilder () | |
setQuestionActionCmd ($questionActionCmd) | |
getQuestionActionCmd () | |
& | createQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation. More... | |
populateJavascriptFilesRequiredForWorkForm (ilTemplate $tpl) | |
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 | _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... | |
static | _getGUIClassNameForId ($a_q_id) |
static | _getClassNameForQType ($q_type) |
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 | RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
const | RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
const | RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
const | RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
const | RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
const | EDIT_CONTEXT_AUTHORING = 'authoring' |
const | EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Protected Member Functions | |
writePostData ($always=false) | |
Evaluates a posted edit form and writes the form data in the question object. More... | |
renderEditForm ($form) | |
getUseUnchangedAnswerCheckboxHtml () | |
getPreviousSolutionProvidedMessage () | |
getPreviousSolutionConfirmationCheckboxHtml () | |
saveTaxonomyAssignments () | |
populateTaxonomyFormSection (ilPropertyFormGUI $form) | |
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) | |
addBackTab (ilTabsGUI $ilTabs) | |
buildBasicEditFormObject () | |
buildEditForm () | |
Protected Attributes | |
$editForm | |
Private Attributes | |
$taxonomyIds = array() | |
$targetGuiClass = null | |
$questionActionCmd = 'handleQuestionAction' | |
$questionHeaderBlockBuilder | |
$navigationGUI | |
$presentationContext = null | |
$renderPurpose = self::RENDER_PURPOSE_PLAYBACK | |
$editContext = self::EDIT_CONTEXT_AUTHORING | |
$previousSolutionPrefilled = false | |
$previewSession | |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 20 of file class.assQuestionGUI.php.
assQuestionGUI::__construct | ( | ) |
assQuestionGUI constructor
Definition at line 111 of file class.assQuestionGUI.php.
References $ilCtrl, $lng, $tpl, and array.
|
static |
Definition at line 470 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
|
static |
Definition at line 458 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
|
static |
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 426 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 2103 of file class.assQuestionGUI.php.
References $_GET, $consumer, $GLOBALS, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilTabsGUI\setBackTarget().
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) |
Add basic question form properties: assessment: title, author, description, question, working time.
Definition at line 1094 of file class.assQuestionGUI.php.
References $description, $form, $title, ilObjAdvancedEditing\_getUsedHTMLTags(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), object, ilUtil\prepareFormOutput(), ilDurationInputGUI\setShowHours(), ilTextInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::addErrorMessage | ( | $errormessage | ) |
Definition at line 1006 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
assQuestionGUI::addGIT | ( | ) |
Definition at line 1774 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 1049 of file class.assQuestionGUI.php.
assQuestionGUI::addPG | ( | ) |
Definition at line 1752 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 1079 of file class.assQuestionGUI.php.
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assClozeTestGUI\editQuestion().
assQuestionGUI::addST | ( | ) |
Definition at line 1763 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
|
protected |
adds the feedback tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 1925 of file class.assQuestionGUI.php.
References $ilCtrl, $tabs, ilTabsGUI\addTarget(), and ilAssQuestionFeedbackEditingGUI\CMD_SHOW.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
|
protected |
adds the hints tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 1956 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), array, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
|
protected |
Definition at line 1984 of file class.assQuestionGUI.php.
References $pass, ilTabsGUI\addTarget(), array, ilAssQuestionPreviewGUI\CMD_SHOW, getSolutionOutput(), and ilAssQuestionPreviewGUI\TAB_ID_QUESTION_PREVIEW.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
$classname | |||
) |
Definition at line 1889 of file class.assQuestionGUI.php.
References $_GET, ilTabsGUI\addTarget(), and array.
Referenced by assNumericGUI\getTestOutput(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), and setQuestionTabs().
assQuestionGUI::apply | ( | ) |
apply changes
Definition at line 944 of file class.assQuestionGUI.php.
References object, and writePostData().
|
protected |
Definition at line 2155 of file class.assQuestionGUI.php.
References $form, getType(), and outQuestionType().
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), and assImagemapQuestionGUI\buildEditForm().
|
protected |
Definition at line 2181 of file class.assQuestionGUI.php.
References $editForm, and $errors.
Referenced by executeCommand().
assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) |
Call the new id listeners.
Definition at line 1061 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
assQuestionGUI::cancel | ( | ) |
cancel action
Definition at line 620 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1604 of file class.assQuestionGUI.php.
assQuestionGUI::cancelSync | ( | ) |
Definition at line 694 of file class.assQuestionGUI.php.
References $_GET, $consumer, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), object, and ilUtil\redirect().
|
protected |
Definition at line 2076 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 487 of file class.assQuestionGUI.php.
References _getQuestionGUI().
assQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 143 of file class.assQuestionGUI.php.
References $_GET, $DIC, $form, $ret, buildEditForm(), getCommand(), and ilUtil\stripSlashes().
|
protected |
Definition at line 1914 of file class.assQuestionGUI.php.
References array.
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 1239 of file class.assQuestionGUI.php.
References $pass, and getGenericFeedbackOutput().
Referenced by assTextSubsetGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), and assImagemapQuestionGUI\getSolutionOutput().
assQuestionGUI::getAsValueAttribute | ( | $a_value | ) |
Returns a HTML value attribute.
mixed | $a_value | A given text or value |
Definition at line 1035 of file class.assQuestionGUI.php.
References $result.
|
protected |
Definition at line 1909 of file class.assQuestionGUI.php.
References array.
Referenced by getEditQuestionTabCommands().
assQuestionGUI::getCommand | ( | $cmd | ) |
Definition at line 171 of file class.assQuestionGUI.php.
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 1798 of file class.assQuestionGUI.php.
References array.
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 958 of file class.assQuestionGUI.php.
Referenced by outPageSelector().
assQuestionGUI::getEditContext | ( | ) |
Definition at line 280 of file class.assQuestionGUI.php.
References $editContext.
Referenced by isAdjustmentEditContext(), and isAuthoringEditContext().
|
final |
Definition at line 1904 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
Referenced by setQuestionTabs().
assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 996 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assFlashQuestionGUI\suggestRange(), and assFormulaQuestionGUI\suggestRange().
assQuestionGUI::getFormEncodingType | ( | ) |
Definition at line 2095 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 1253 of file class.assQuestionGUI.php.
References $output, $pass, ilObjTest\getManualFeedback(), and object.
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 | ( | ) |
assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) |
Definition at line 1283 of file class.assQuestionGUI.php.
References $pass, getSpecificFeedbackOutput(), and object.
assQuestionGUI::getILIASPage | ( | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 532 of file class.assQuestionGUI.php.
References $html, array, object, and ilPageObjectGUI\setQuestionHTML().
Referenced by assTextSubsetGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assNumericGUI\getPreview(), assFlashQuestionGUI\getPreview(), assErrorTextGUI\getPreview(), assTextQuestionGUI\getPreview(), assLongMenuGUI\getPreview(), assFileUploadGUI\getPreview(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assJavaAppletGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assFileUploadGUI\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 317 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 187 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
|
abstract |
assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 2147 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assTextSubsetGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assNumericGUI\getPreview(), assErrorTextGUI\getPreview(), assTextQuestionGUI\getPreview(), assLongMenuGUI\getPreview(), assFileUploadGUI\getPreview(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), and assFormulaQuestionGUI\getSolutionOutput().
|
protected |
Definition at line 607 of file class.assQuestionGUI.php.
References $tpl.
Referenced by outQuestionPage().
|
protected |
Definition at line 602 of file class.assQuestionGUI.php.
Referenced by outQuestionPage().
assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 382 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assFileUploadGUI\getSolutionOutput(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 991 of file class.assQuestionGUI.php.
References $question_count.
assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 367 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getQuestionTemplate | ( | ) |
get question template
Definition at line 501 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(), assLongMenuGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and renderEditForm().
assQuestionGUI::getQuestionType | ( | ) |
Returns the question type string.
Returns the question type string
Definition at line 1023 of file class.assQuestionGUI.php.
Referenced by ilScoringAdjustmentGUI\allowedInAdjustment(), and getType().
assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 226 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by isRenderPurposeDemoplay(), isRenderPurposeInputValue(), isRenderPurposePlayback(), isRenderPurposePreview(), isRenderPurposePrintPdf(), and suggestedsolution().
assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 981 of file class.assQuestionGUI.php.
References $sequence_no.
|
abstract |
Referenced by addTab_QuestionPreview(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), 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 350 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 335 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
|
abstract |
Referenced by magicAfterTestOutput(), and outQuestionForTest().
assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 179 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
|
protected |
Definition at line 591 of file class.assQuestionGUI.php.
Referenced by outQuestionPage().
|
protected |
Definition at line 2008 of file class.assQuestionGUI.php.
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assFormulaQuestionGUI\getSolutionOutput().
assQuestionGUI::isAdjustmentEditContext | ( | ) |
bool | $isAdjustmentEditContext |
Definition at line 304 of file class.assQuestionGUI.php.
References getEditContext().
Referenced by assOrderingQuestionGUI\populateAnswerSpecificFormPart(), and assOrderingQuestionGUI\writeAnswerSpecificPostData().
assQuestionGUI::isAuthoringEditContext | ( | ) |
bool | $isAuthoringEditContext |
Definition at line 296 of file class.assQuestionGUI.php.
References getEditContext().
assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 2016 of file class.assQuestionGUI.php.
assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 209 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 259 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 249 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by renderPurposeSupportsFormHtml().
assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 254 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 244 of file class.assQuestionGUI.php.
References getRenderPurpose().
assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 239 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateSolutiontextToGapTpl(), and renderPurposeSupportsFormHtml().
assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1785 of file class.assQuestionGUI.php.
References array.
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 200 of file class.assQuestionGUI.php.
References getPresentationContext().
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\getSolutionOutput().
assQuestionGUI::linkChilds | ( | ) |
Definition at line 1730 of file class.assQuestionGUI.php.
References $_GET, array, outChapterSelector(), outGlossarySelector(), outPageSelector(), and ilUtil\sendSuccess().
assQuestionGUI::magicAfterTestOutput | ( | ) |
Definition at line 2082 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 642 of file class.assQuestionGUI.php.
References $template.
Referenced by suggestedsolution().
assQuestionGUI::outAdditionalOutput | ( | ) |
Definition at line 1011 of file class.assQuestionGUI.php.
assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1668 of file class.assQuestionGUI.php.
References $_GET, $rows, $table, array, object, and ilUtil\stripSlashes().
Referenced by linkChilds().
assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1701 of file class.assQuestionGUI.php.
References $_GET, $rows, $table, array, and object.
Referenced by linkChilds().
assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1609 of file class.assQuestionGUI.php.
References $_GET, $rows, $table, array, getContextPath(), ilLMPageObject\getPageList(), object, 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 2047 of file class.assQuestionGUI.php.
References $pass, completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), magicAfterTestOutput(), and time.
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false , |
|||
$active_id = "" , |
|||
$html = "" |
|||
) |
output question page
Definition at line 546 of file class.assQuestionGUI.php.
References $html, array, getNavigationGUI(), getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionProvidedMessage(), getUseUnchangedAnswerCheckboxHtml(), object, ilUtil\sendInfo(), and ilPageObjectGUI\setOutputMode().
Referenced by assTextSubsetGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assNumericGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1304 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_getQuestionTypeName(), object, and ilUtil\sendInfo().
Referenced by buildBasicEditFormObject(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1531 of file class.assQuestionGUI.php.
References $_GET, $template, $type, array, ilUtil\sendInfo(), and ilExplorer\setExpand().
assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilTemplate | $tpl | ) |
Definition at line 493 of file class.assQuestionGUI.php.
References ilTemplate\addJavaScript().
|
protected |
Definition at line 1197 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilTaxNodeAssignment\getAssignmentsOfItem(), getTaxonomyIds(), object, and ilFormPropertyGUI\setTitle().
Referenced by assLongMenuGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
|
protected |
$form |
Definition at line 520 of file class.assQuestionGUI.php.
References $form, and getQuestionTemplate().
Referenced by assOrderingQuestionGUI\changeToPictures(), assOrderingQuestionGUI\changeToText(), assOrderingQuestionGUI\editQuestion(), assOrderingQuestionGUI\orderNestedPictures(), assOrderingQuestionGUI\orderNestedTerms(), assOrderingQuestionGUI\removeElementImage(), assOrderingQuestionGUI\uploadElementImage(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 264 of file class.assQuestionGUI.php.
References isRenderPurposeInputValue(), and isRenderPurposePrintPdf().
Referenced by assTextQuestionGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\populateSolutiontextToGapTpl().
assQuestionGUI::save | ( | ) |
save question
in express mode, so add question to test directly
Definition at line 771 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), object, ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Referenced by assFormulaQuestionGUI\saveFQ().
assQuestionGUI::saveEdit | ( | ) |
save question
Definition at line 724 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), object, ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveReturn | ( | ) |
save question
Definition at line 872 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), object, ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1566 of file class.assQuestionGUI.php.
References $_POST, $type, and suggestedsolution().
|
protected |
Definition at line 1182 of file class.assQuestionGUI.php.
References getTaxonomyIds(), and object.
Referenced by assOrderingQuestionGUI\persistAuthoringForm(), assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assErrorTextGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assFileUploadGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assLongMenuGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
assQuestionGUI::setAdjustmentEditContext | ( | ) |
Definition at line 309 of file class.assQuestionGUI.php.
References setEditContext().
assQuestionGUI::setEditContext | ( | $editContext | ) |
string | $editContext |
Definition at line 288 of file class.assQuestionGUI.php.
References $editContext.
Referenced by setAdjustmentEditContext().
assQuestionGUI::setErrorMessage | ( | $errormessage | ) |
Definition at line 1001 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assOrderingHorizontalGUI\__construct(), assErrorTextGUI\__construct(), assMatchingQuestionGUI\__construct(), assFileUploadGUI\__construct(), and assFlashQuestionGUI\writeQuestionSpecificPostData().
assQuestionGUI::setNavigationGUI | ( | $navigationGUI | ) |
ilTestQuestionNavigationGUI | $navigationGUI |
Definition at line 325 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::setPresentationContext | ( | $presentationContext | ) |
string | $presentationContext |
Definition at line 195 of file class.assQuestionGUI.php.
References $presentationContext.
assQuestionGUI::setPreviewSession | ( | $previewSession | ) |
\ilAssQuestionPreviewSession | $previewSession |
Definition at line 2139 of file class.assQuestionGUI.php.
References $previewSession.
assQuestionGUI::setPreviousSolutionPrefilled | ( | $previousSolutionPrefilled | ) |
boolean | $previousSolutionPrefilled |
Definition at line 217 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::setQuestionActionCmd | ( | $questionActionCmd | ) |
assQuestionGUI::setQuestionCount | ( | $a_question_count | ) |
Definition at line 986 of file class.assQuestionGUI.php.
assQuestionGUI::setQuestionHeaderBlockBuilder | ( | $questionHeaderBlockBuilder | ) |
\ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder |
Definition at line 358 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1817 of file class.assQuestionGUI.php.
References $_GET, $url, addBackTab(), addTab_QuestionFeedback(), addTab_QuestionHints(), addTab_QuestionPreview(), addTab_SuggestedSolution(), array, and getEditQuestionTabCommands().
Referenced by assNumericGUI\getTestOutput().
assQuestionGUI::setRenderPurpose | ( | $renderPurpose | ) |
string | $renderPurpose |
Definition at line 234 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by suggestedsolution().
assQuestionGUI::setSequenceNumber | ( | $nr | ) |
Definition at line 976 of file class.assQuestionGUI.php.
assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 340 of file class.assQuestionGUI.php.
References setTargetGuiClass().
assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 345 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
assQuestionGUI::setTaxonomyIds | ( | $taxonomyIds | ) |
assQuestionGUI::showHints | ( | ) |
Definition at line 2172 of file class.assQuestionGUI.php.
References $ilCtrl, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
assQuestionGUI::showSuggestedSolution | ( | ) |
Definition at line 1318 of file class.assQuestionGUI.php.
References suggestedsolution().
assQuestionGUI::suggestedsolution | ( | ) |
Allows to add suggested solutions for questions.
public
Definition at line 1328 of file class.assQuestionGUI.php.
References $_GET, $_POST, $file, $form, $ilUser, $options, $output, $res, $template, $title, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), array, getRenderPurpose(), getSolutionOutput(), ilUtil\makeDirParents(), object, originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\renameExecutables(), ilUtil\sendInfo(), ilUtil\sendSuccess(), setRenderPurpose(), and ilTextAreaInputGUI\setValue().
Referenced by saveSuggestedSolution(), and showSuggestedSolution().
assQuestionGUI::sync | ( | ) |
Definition at line 663 of file class.assQuestionGUI.php.
References $_GET, $consumer, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), object, and ilUtil\redirect().
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 391 of file class.assQuestionGUI.php.
Referenced by apply(), save(), saveEdit(), and saveReturn().
|
protected |
Definition at line 2021 of file class.assQuestionGUI.php.
References $_POST, getPreview(), object, and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\persistAuthoringForm(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assErrorTextGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assFileUploadGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assLongMenuGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), and assKprimChoiceGUI\writePostData().
|
private |
Definition at line 94 of file class.assQuestionGUI.php.
Referenced by getEditContext(), and setEditContext().
|
protected |
Definition at line 106 of file class.assQuestionGUI.php.
Referenced by buildEditForm().
assQuestionGUI::$error |
Definition at line 41 of file class.assQuestionGUI.php.
assQuestionGUI::$errormessage |
Definition at line 42 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
assQuestionGUI::$lng |
Definition at line 40 of file class.assQuestionGUI.php.
Referenced by __construct(), _getQuestionGUI(), and assClozeTestGUI\getSpecificFeedbackOutput().
|
private |
Definition at line 67 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
assQuestionGUI::$object |
Definition at line 37 of file class.assQuestionGUI.php.
Referenced by callNewIdListeners(), and assFormulaQuestionGUI\isSaveCommand().
|
private |
Definition at line 75 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
|
private |
Definition at line 2134 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
|
private |
Definition at line 100 of file class.assQuestionGUI.php.
Referenced by isPreviousSolutionPrefilled(), and setPreviousSolutionPrefilled().
assQuestionGUI::$question_count |
question count in test
Definition at line 51 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
|
private |
Definition at line 57 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
|
private |
Definition at line 62 of file class.assQuestionGUI.php.
Referenced by getQuestionHeaderBlockBuilder(), and setQuestionHeaderBlockBuilder().
|
private |
Definition at line 86 of file class.assQuestionGUI.php.
Referenced by getRenderPurpose(), and setRenderPurpose().
assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 47 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
private |
Definition at line 55 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 53 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
assQuestionGUI::$tpl |
Definition at line 39 of file class.assQuestionGUI.php.
Referenced by __construct(), assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), getPreviousSolutionConfirmationCheckboxHtml(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assLongMenuGUI\getSelectGapTemplate(), assOrderingQuestionGUI\getSpecificFeedbackOutput(), assLongMenuGUI\getTextGapTemplate(), getUseUnchangedAnswerCheckboxHtml(), assMultipleChoiceGUI\getUseUnchangedAnswerCheckboxHtml(), assLongMenuGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assTextSubsetGUI\renderAggregateView(), assNumericGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assKprimChoiceGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assImagemapQuestionGUI\renderAggregateView(), assMultipleChoiceGUI\renderAggregateView(), and writePostData().
const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Definition at line 89 of file class.assQuestionGUI.php.
Referenced by ilScoringAdjustmentGUI\outputAdjustQuestionForm().
const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' |
Definition at line 88 of file class.assQuestionGUI.php.
Referenced by ilObjQuestionPoolGUI\executeCommand(), and ilObjTestGUI\executeCommand().
const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 26 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 25 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 23 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 22 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 70 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 69 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 78 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion().
const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 81 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
Definition at line 77 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 79 of file class.assQuestionGUI.php.
Referenced by ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), and ilObjTestGUI\reviewobject().
const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 80 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getCorrectSolutionOutput(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getQuestionResultForTestUsers(), and ilObjTestGUI\printobject().
const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 28 of file class.assQuestionGUI.php.