|
ILIAS
release_4-4 Revision
|
Basic GUI class for assessment questions. More...
Inheritance diagram for assQuestionGUI:
Collaboration diagram for assQuestionGUI:Public Member Functions | |
| __construct () | |
| assQuestionGUI constructor More... | |
| & | executeCommand () |
| execute command More... | |
| getCommand ($cmd) | |
| getType () | |
| needed for page editor compliance More... | |
| setTaxonomyIds ($taxonomyIds) | |
| getTaxonomyIds () | |
| setTargetGui (ilTestPlayerAbstractGUI $linkTargetGui) | |
| setTargetGuiClass ($targetGuiClass) | |
| getTargetGuiClass () | |
| writePostData () | |
| Evaluates a posted edit form and writes the form data in the question object. More... | |
| assessment () | |
| output assessment More... | |
| & | _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... | |
| getSelfAssessmentTags () | |
| Get tags allowed in question tags in self assessment mode. 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... | |
| 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 () | |
| 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 () | |
| 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' |
| $object | |
| $tpl | |
| $lng | |
| $error | |
| $errormessage | |
| $sequence_no | |
| sequence number in test More... | |
| $question_count | |
| question count in test More... | |
Protected Member Functions | |
| saveTaxonomyAssignments () | |
| populateTaxonomyFormSection (ilPropertyFormGUI $form) | |
| addTab_QuestionFeedback (ilTabsGUI $tabs) | |
| adds the feedback tab to ilTabsGUI More... | |
| addTab_QuestionHints (ilTabsGUI $tabs) | |
| adds the hints tab to ilTabsGUI More... | |
| writeQuestionGenericPostData () | |
Private Attributes | |
| $taxonomyIds = array() | |
| $targetGuiClass = null | |
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 54 of file class.assQuestionGUI.php.
References $ilCtrl, $lng, and $tpl.
| assQuestionGUI::_getClassNameForQType | ( | $q_type | ) |
Definition at line 266 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
Here is the caller graph for this function:| assQuestionGUI::_getGUIClassNameForId | ( | $a_q_id | ) |
Definition at line 254 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| & 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 222 of file class.assQuestionGUI.php.
References $ilCtrl, $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(), ilObjQuestionPoolGUI\executeCommand(), ilTestExpressPageObjectGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionExporter\exportQuestion(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), ilTestExpressPageObjectGUI\handleToolbarCommand(), and ilObjQuestionPoolGUI\setTitleAndDescription().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) |
Add basic question form properties: assessment: title, author, description, question, working time.
Definition at line 894 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTags(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilUtil\prepareFormOutput(), ilDurationInputGUI\setShowHours(), ilTextInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addErrorMessage | ( | $errormessage | ) |
Definition at line 802 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::addGIT | ( | ) |
Definition at line 1636 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
Here is the call graph for this function:| 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 846 of file class.assQuestionGUI.php.
| assQuestionGUI::addPG | ( | ) |
Definition at line 1612 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
Here is the call graph for this function:| assQuestionGUI::addQuestionFormCommandButtons | ( | $form | ) |
Add the command buttons of a question properties form.
Definition at line 878 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assOrderingQuestionGUI\editQuestion().
Here is the caller graph for this function:| assQuestionGUI::addST | ( | ) |
Definition at line 1624 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
adds the feedback tab to ilTabsGUI
ilCtrl $ilCtrl
| ilTabsGUI | $tabs |
Definition at line 1693 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), and ilAssQuestionFeedbackEditingGUI\CMD_SHOW.
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), and assOrderingQuestionGUI\setQuestionTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
adds the hints tab to ilTabsGUI
ilCtrl $ilCtrl
| ilTabsGUI | $tabs |
Definition at line 1724 of file class.assQuestionGUI.php.
References $ilCtrl, $pass, ilTabsGUI\addTarget(), ilAssQuestionHintsGUI\CMD_SHOW_LIST, and getSolutionOutput().
Referenced by assNumericGUI\getTestOutput(), assFormulaQuestionGUI\setQuestionTabs(), assTextSubsetGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assClozeTestGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), and assOrderingQuestionGUI\setQuestionTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::apply | ( | ) |
apply changes
Definition at line 738 of file class.assQuestionGUI.php.
References writePostData().
Here is the call graph for this function:| assQuestionGUI::assessment | ( | ) |
output assessment
Definition at line 146 of file class.assQuestionGUI.php.
References $_GET, and $ref_id.
| assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) |
Call the new id listeners.
Definition at line 858 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
Here is the caller graph for this function:| assQuestionGUI::cancel | ( | ) |
cancel action
Definition at line 386 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
Here is the call graph for this function:| assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1459 of file class.assQuestionGUI.php.
| assQuestionGUI::cancelSync | ( | ) |
Definition at line 460 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, and ilUtil\redirect().
Here is the call graph for this function:| & 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 283 of file class.assQuestionGUI.php.
References _getQuestionGUI().
Here is the call graph for this function:| & assQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 79 of file class.assQuestionGUI.php.
References $cmd, $ret, and getCommand().
Here is the call graph for this function:| 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 1077 of file class.assQuestionGUI.php.
References $pass, and getGenericFeedbackOutput().
Referenced by assTextSubsetGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), and assOrderingQuestionGUI\getSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getAsValueAttribute | ( | $a_value | ) |
Returns a HTML value attribute.
| mixed | $a_value | A given text or value |
Definition at line 831 of file class.assQuestionGUI.php.
References $result.
| assQuestionGUI::getCommand | ( | $cmd | ) |
Definition at line 95 of file class.assQuestionGUI.php.
References $cmd.
Referenced by executeCommand().
Here is the caller graph for this function:
|
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 1661 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
Here is the caller graph for this function:| 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 752 of file class.assQuestionGUI.php.
References $path.
Referenced by outPageSelector().
Here is the caller graph for this function:| assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 792 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assFlashQuestionGUI\suggestRange(), and assFormulaQuestionGUI\suggestRange().
Here is the caller graph for this function:| 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 1091 of file class.assQuestionGUI.php.
References $pass, ilObjTest\getManualFeedback(), and getSpecificFeedbackOutput().
Referenced by getAnswerFeedbackOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), and assClozeTestGUI\getSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getILIASPage | ( | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 305 of file class.assQuestionGUI.php.
References ilPageObjectGUI\setQuestionHTML().
Referenced by assOrderingHorizontalGUI\getPreview(), assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assTextQuestionGUI\getPreview(), assFileUploadGUI\getPreview(), assErrorTextGUI\getPreview(), assFlashQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assJavaAppletGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreviewJS(), assOrderingQuestionGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), and assFileUploadGUI\getTestOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 787 of file class.assQuestionGUI.php.
References $question_count.
Referenced by outQuestionPage().
Here is the caller graph for this function:| assQuestionGUI::getQuestionTemplate | ( | ) |
get question template
Definition at line 292 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the caller graph for this function:| assQuestionGUI::getQuestionType | ( | ) |
Returns the question type string.
Returns the question type string
Definition at line 819 of file class.assQuestionGUI.php.
Referenced by ilScoringAdjustmentGUI\allowedInAdjustment(), and getType().
Here is the caller graph for this function:| assQuestionGUI::getSelfAssessmentTags | ( | ) |
Get tags allowed in question tags in self assessment mode.
Definition at line 1047 of file class.assQuestionGUI.php.
References ilUtil\getSecureTags().
Referenced by ilPCQuestion\copyPoolQuestionIntoPage().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 777 of file class.assQuestionGUI.php.
References $sequence_no.
Referenced by outQuestionPage().
Here is the caller graph for this function:
|
abstract |
Referenced by addTab_QuestionHints(), and suggestedsolution().
Here is the caller graph for this function:
|
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 getGenericFeedbackOutput().
Here is the caller graph for this function:| assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 128 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\getTestOutput().
Here is the caller graph for this function:| assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 113 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
Here is the caller graph for this function:| assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 103 of file class.assQuestionGUI.php.
References getQuestionType().
Here is the call graph for this function:| assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 1765 of file class.assQuestionGUI.php.
| assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1648 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assOrderingQuestionGUI\editQuestion().
Here is the caller graph for this function:| assQuestionGUI::linkChilds | ( | ) |
Definition at line 1589 of file class.assQuestionGUI.php.
References $_GET, outChapterSelector(), outGlossarySelector(), outPageSelector(), and ilUtil\sendSuccess().
Here is the call graph for this function:| assQuestionGUI::originalSyncForm | ( | $return_to = "", |
|
$return_to_feedback = '' |
|||
| ) |
| string | $return_to | |
| string | $return_to_feedback | ilAssQuestionFeedbackEditingGUI |
Definition at line 416 of file class.assQuestionGUI.php.
References $_REQUEST.
Referenced by suggestedsolution().
Here is the caller graph for this function:| assQuestionGUI::outAdditionalOutput | ( | ) |
Definition at line 807 of file class.assQuestionGUI.php.
| assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1528 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
Here is the caller graph for this function:| assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1561 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
Here is the caller graph for this function:| assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1464 of file class.assQuestionGUI.php.
References $_GET, getContextPath(), ilLMPageObject\getPageList(), and ilUtil\prepareFormOutput().
Referenced by linkChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false, |
|||
$active_id = "", |
|||
$html = "" |
|||
| ) |
output question page
Definition at line 319 of file class.assQuestionGUI.php.
References ilObjTest\_getTitleOutput(), getQuestionCount(), getSequenceNumber(), ilObjTest\isQuestionObligatory(), and ilPageObjectGUI\setTemplateTargetVar().
Referenced by assOrderingHorizontalGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assNumericGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), and assMatchingQuestionGUI\getTestOutputJS().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1131 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_getQuestionTypeName(), assQuestion\_questionExistsInPool(), and ilUtil\getImagePath().
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1383 of file class.assQuestionGUI.php.
References $_GET, ilUtil\sendInfo(), and ilExplorer\setExpand().
Here is the call graph for this function:
|
protected |
Definition at line 1019 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addItem(), getTaxonomyIds(), and ilTaxAssignInputGUI\setCurrentValues().
Referenced by assTextSubsetGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::save | ( | ) |
save question
in express mode, so add question to test directly
Definition at line 538 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $_SESSION, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Referenced by assFormulaQuestionGUI\saveFQ().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::saveEdit | ( | ) |
save question
Definition at line 480 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilUser, $result, $test, assQuestion\_isWriteable(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Here is the call graph for this function:| assQuestionGUI::saveReturn | ( | ) |
save question
Definition at line 652 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, $_SESSION, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Here is the call graph for this function:| assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1419 of file class.assQuestionGUI.php.
References $_POST, and suggestedsolution().
Here is the call graph for this function:
|
protected |
Definition at line 1002 of file class.assQuestionGUI.php.
References getTaxonomyIds().
Referenced by assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assFileUploadGUI\writePostData(), assSingleChoiceGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assErrorTextGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assFlashQuestionGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::setErrorMessage | ( | $errormessage | ) |
Definition at line 797 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assOrderingHorizontalGUI\__construct(), assFileUploadGUI\__construct(), assMatchingQuestionGUI\__construct(), assErrorTextGUI\__construct(), and assFlashQuestionGUI\writeQuestionSpecificPostData().
Here is the caller graph for this function:| assQuestionGUI::setQuestionCount | ( | $a_question_count | ) |
Definition at line 782 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1683 of file class.assQuestionGUI.php.
Referenced by assNumericGUI\getTestOutput().
Here is the caller graph for this function:| assQuestionGUI::setSequenceNumber | ( | $nr | ) |
Definition at line 772 of file class.assQuestionGUI.php.
| assQuestionGUI::setTargetGui | ( | ilTestPlayerAbstractGUI | $linkTargetGui | ) |
Definition at line 118 of file class.assQuestionGUI.php.
References setTargetGuiClass().
Here is the call graph for this function:| assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 123 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
Here is the caller graph for this function:| assQuestionGUI::setTaxonomyIds | ( | $taxonomyIds | ) |
| assQuestionGUI::showHints | ( | ) |
Definition at line 1787 of file class.assQuestionGUI.php.
References $ilCtrl, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
| assQuestionGUI::showSuggestedSolution | ( | ) |
Definition at line 1152 of file class.assQuestionGUI.php.
References suggestedsolution().
Here is the call graph for this function:| assQuestionGUI::suggestedsolution | ( | ) |
Allows to add suggested solutions for questions.
public
Definition at line 1162 of file class.assQuestionGUI.php.
References $_GET, $_POST, $file, $ilUser, $options, $res, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), getSolutionOutput(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\renameExecutables(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilCustomInputGUI\setHtml(), and ilTextAreaInputGUI\setValue().
Referenced by saveSuggestedSolution(), and showSuggestedSolution().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::sync | ( | ) |
Definition at line 438 of file class.assQuestionGUI.php.
References $_GET, $_REQUEST, and ilUtil\redirect().
Here is the call graph for this function:| assQuestionGUI::writePostData | ( | ) |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 139 of file class.assQuestionGUI.php.
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(), 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(), and assMatchingQuestionGUI\uploadterms().
Here is the caller graph for this function:
|
protected |
Definition at line 1770 of file class.assQuestionGUI.php.
References $_POST, and ilUtil\stripOnlySlashes().
Referenced by assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assSingleChoiceGUI\writePostData(), assFileUploadGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assErrorTextGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assJavaAppletGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assFlashQuestionGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::$error |
Definition at line 35 of file class.assQuestionGUI.php.
| assQuestionGUI::$errormessage |
Definition at line 36 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
| assQuestionGUI::$lng |
Definition at line 34 of file class.assQuestionGUI.php.
Referenced by __construct(), _getQuestionGUI(), and assClozeTestGUI\getSpecificFeedbackOutput().
| assQuestionGUI::$object |
Definition at line 31 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\isSaveCommand().
| assQuestionGUI::$question_count |
question count in test
Definition at line 45 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
| assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 41 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
private |
Definition at line 49 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 47 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
| assQuestionGUI::$tpl |
Definition at line 33 of file class.assQuestionGUI.php.
Referenced by __construct(), assClozeTestGUI\addBasicQuestionFormProperties(), assNumericGUI\getAggregatedAnswersView(), assTextSubsetGUI\getAggregatedAnswersView(), assOrderingHorizontalGUI\getAggregatedAnswersView(), assSingleChoiceGUI\getAggregatedAnswersView(), assMultipleChoiceGUI\getAggregatedAnswersView(), assClozeTestGUI\getAggregatedAnswersView(), assMatchingQuestionGUI\getAggregatedAnswersView(), assOrderingQuestionGUI\getAggregatedAnswersView(), assClozeTestGUI\getNumericGapAggregation(), assClozeTestGUI\getSelectGapAggregation(), assClozeTestGUI\getTextGapAggregation(), assNumericGUI\renderAggregateView(), assTextSubsetGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assMultipleChoiceGUI\renderAggregateView(), assClozeTestGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assMultipleChoiceGUI\renderVariantsView(), and assMatchingQuestionGUI\renderVariantsView().
| 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.