ILIAS
Release_4_1_x_branch Revision 61804
|
Basic GUI class for assessment questions. More...
Public Member Functions | |
__construct () | |
assQuestionGUI constructor | |
& | executeCommand () |
execute command | |
getCommand ($cmd) | |
getType () | |
needed for page editor compliance | |
writePostData () | |
Evaluates a posted edit form and writes the form data in the question object. | |
assessment () | |
output assessment | |
& | _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. | |
_getGUIClassNameForId ($a_q_id) | |
_getClassNameForQType ($q_type) | |
& | createQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation. | |
getQuestionTemplate () | |
get question template | |
getILIASPage ($html="") | |
Returns the ILIAS Page around a question. | |
outQuestionPage ($a_temp_var, $a_postponed=false, $active_id="", $html="") | |
output question page | |
cancel () | |
cancel action | |
originalSyncForm ($return_to="") | |
sync () | |
cancelSync () | |
saveFeedback () | |
Saves the feedback for a single choice question. | |
saveEdit () | |
save question | |
save () | |
save question | |
apply () | |
apply changes | |
getContextPath ($cont_obj, $a_endnode_id, $a_startnode_id=1) | |
get context path in content object tree | |
setSequenceNumber ($nr) | |
getSequenceNumber () | |
setQuestionCount ($a_question_count) | |
getQuestionCount () | |
getErrorMessage () | |
setErrorMessage ($errormessage) | |
addErrorMessage ($errormessage) | |
outAdditionalOutput () | |
getQuestionType () | |
Returns the question type string. | |
getAsValueAttribute ($a_value) | |
Returns a HTML value attribute. | |
addNewIdListener (&$a_object, $a_method, $a_parameters="") | |
Add a listener that is notified with the new question ID, when a new question is saved. | |
callNewIdListeners ($a_new_id) | |
Call the new id listeners. | |
setSelfAssessmentEditingMode ($a_selfassessmenteditingmode) | |
Set Self-Assessment Editing Mode. | |
getSelfAssessmentEditingMode () | |
Get Self-Assessment Editing Mode. | |
setPreventRteUsage ($a_val) | |
Set prevent rte usage. | |
getPreventRteUsage () | |
Get prevent rte usage. | |
setDefaultNrOfTries ($a_defaultnroftries) | |
Set Default Nr of Tries. | |
getDefaultNrOfTries () | |
Get Default Nr of Tries. | |
addQuestionFormCommandButtons ($form) | |
Add the command buttons of a question properties form. | |
addBasicQuestionFormProperties ($form) | |
Add basic question form properties: assessment: title, author, description, question, working time. | |
getAnswerFeedbackOutput ($active_id, $pass) | |
Returns the answer specific feedback depending on the results of the question. | |
feedback ($checkonly=false) | |
Creates the output of the feedback page for the question. | |
outQuestionType () | |
suggestedsolution () | |
Allows to add suggested solutions for questions. | |
outSolutionExplorer () | |
saveSuggestedSolution () | |
cancelExplorer () | |
outPageSelector () | |
outChapterSelector () | |
outGlossarySelector () | |
linkChilds () | |
addPG () | |
addST () | |
addGIT () |
Data Fields | |
$object | |
$tpl | |
$lng | |
$error | |
$errormessage | |
$sequence_no | |
sequence number in test | |
$question_count | |
question count in test | |
$prevent_rte_usage = false | |
do not use rte for editing |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 36 of file class.assQuestionGUI.php.
assQuestionGUI::__construct | ( | ) |
assQuestionGUI constructor
Definition at line 69 of file class.assQuestionGUI.php.
References $ilCtrl, $lng, and $tpl.
Referenced by assErrorTextGUI\__construct(), assOrderingHorizontalGUI\__construct(), assFileUploadGUI\__construct(), assTextSubsetGUI\__construct(), assTextQuestionGUI\__construct(), assJavaAppletGUI\__construct(), assMatchingQuestionGUI\__construct(), assFlashQuestionGUI\__construct(), assNumericGUI\__construct(), assClozeTestGUI\__construct(), assOrderingQuestionGUI\__construct(), assMultipleChoiceGUI\__construct(), assImagemapQuestionGUI\__construct(), and assSingleChoiceGUI\__construct().
assQuestionGUI::_getClassNameForQType | ( | $q_type | ) |
Definition at line 235 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
assQuestionGUI::_getGUIClassNameForId | ( | $a_q_id | ) |
Definition at line 226 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 208 of file class.assQuestionGUI.php.
References assQuestion\_includeClass(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilObjQuestionPoolGUI\createQuestionForTestObject(), createQuestionGUI(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilObjQuestionPoolGUI\editQuestionForTestObject(), ilObjQuestionPoolGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilSCORM2004Sco\exportHTMLPageObjects(), ilQuestionExporter\exportQuestion(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), and ilObjQuestionPoolGUI\setTitleAndDescription().
assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) |
Add basic question form properties: assessment: title, author, description, question, working time.
Definition at line 776 of file class.assQuestionGUI.php.
References $title, ilObjAdvancedEditing\_getUsedHTMLTags(), getDefaultNrOfTries(), getSelfAssessmentEditingMode(), ilUtil\prepareFormOutput(), ilDurationInputGUI\setShowHours(), ilTextInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
assQuestionGUI::addErrorMessage | ( | $errormessage | ) |
Definition at line 628 of file class.assQuestionGUI.php.
References $errormessage.
assQuestionGUI::addGIT | ( | ) |
Definition at line 1450 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 672 of file class.assQuestionGUI.php.
assQuestionGUI::addPG | ( | ) |
Definition at line 1426 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 764 of file class.assQuestionGUI.php.
References $_GET, and getSelfAssessmentEditingMode().
Referenced by assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
assQuestionGUI::addST | ( | ) |
Definition at line 1438 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
assQuestionGUI::apply | ( | ) |
apply changes
Definition at line 564 of file class.assQuestionGUI.php.
References writePostData().
assQuestionGUI::assessment | ( | ) |
output assessment
Definition at line 132 of file class.assQuestionGUI.php.
References $_GET, and $ref_id.
assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) |
Call the new id listeners.
Definition at line 684 of file class.assQuestionGUI.php.
References $object.
Referenced by save().
assQuestionGUI::cancel | ( | ) |
cancel action
Definition at line 358 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1273 of file class.assQuestionGUI.php.
assQuestionGUI::cancelSync | ( | ) |
Definition at line 416 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
& 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 250 of file class.assQuestionGUI.php.
References _getQuestionGUI().
& assQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 90 of file class.assQuestionGUI.php.
References $cmd, $ret, and getCommand().
assQuestionGUI::feedback | ( | $checkonly = false | ) |
Creates the output of the feedback page for the question.
public
Reimplemented in assImagemapQuestionGUI, assMultipleChoiceGUI, and assSingleChoiceGUI.
Definition at line 911 of file class.assQuestionGUI.php.
References $_GET, $errors, ilObjAdvancedEditing\_getUsedHTMLTags(), getPreventRteUsage(), getSelfAssessmentEditingMode(), and ilTextAreaInputGUI\setValue().
Referenced by assNumericGUI\saveFeedback(), assErrorTextGUI\saveFeedback(), assFileUploadGUI\saveFeedback(), assOrderingHorizontalGUI\saveFeedback(), assTextSubsetGUI\saveFeedback(), assTextQuestionGUI\saveFeedback(), saveFeedback(), assFlashQuestionGUI\saveFeedback(), assJavaAppletGUI\saveFeedback(), assClozeTestGUI\saveFeedback(), assOrderingQuestionGUI\saveFeedback(), and assMatchingQuestionGUI\saveFeedback().
assQuestionGUI::getAnswerFeedbackOutput | ( | $active_id, | |
$pass | |||
) |
Returns the answer specific feedback depending on the results of the question.
Returns the answer specific feedback depending on the results of the question
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Definition at line 879 of file class.assQuestionGUI.php.
References $pass, and ilObjTest\getManualFeedback().
Referenced by assFileUploadGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assImagemapQuestionGUI\getSolutionOutput().
assQuestionGUI::getAsValueAttribute | ( | $a_value | ) |
Returns a HTML value attribute.
mixed | $a_value | A given text or value |
Definition at line 657 of file class.assQuestionGUI.php.
References $result.
assQuestionGUI::getCommand | ( | $cmd | ) |
Reimplemented in assImagemapQuestionGUI, assFlashQuestionGUI, assMultipleChoiceGUI, assSingleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI, assNumericGUI, assOrderingQuestionGUI, assErrorTextGUI, assFileUploadGUI, assJavaAppletGUI, assOrderingHorizontalGUI, and assTextSubsetGUI.
Definition at line 106 of file class.assQuestionGUI.php.
References $cmd.
Referenced by executeCommand().
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 578 of file class.assQuestionGUI.php.
References $path.
Referenced by outPageSelector().
assQuestionGUI::getDefaultNrOfTries | ( | ) |
Get Default Nr of Tries.
Definition at line 756 of file class.assQuestionGUI.php.
Referenced by addBasicQuestionFormProperties().
assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 618 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), and assFlashQuestionGUI\suggestRange().
assQuestionGUI::getILIASPage | ( | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 272 of file class.assQuestionGUI.php.
References $_GET, and ilPageObjectGUI\setTemplateTargetVar().
Referenced by assErrorTextGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assFileUploadGUI\getPreview(), assNumericGUI\getPreview(), assTextQuestionGUI\getPreview(), assTextSubsetGUI\getPreview(), assFlashQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assSingleChoiceGUI\getPreview(), assJavaAppletGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreviewJS(), assOrderingHorizontalGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), and assFileUploadGUI\getTestOutput().
assQuestionGUI::getPreventRteUsage | ( | ) |
Get prevent rte usage.
Definition at line 736 of file class.assQuestionGUI.php.
References $prevent_rte_usage.
Referenced by assSingleChoiceGUI\feedback(), assMultipleChoiceGUI\feedback(), assImagemapQuestionGUI\feedback(), and feedback().
assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 613 of file class.assQuestionGUI.php.
References $question_count.
Referenced by outQuestionPage().
assQuestionGUI::getQuestionTemplate | ( | ) |
get question template
Definition at line 259 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
assQuestionGUI::getQuestionType | ( | ) |
Returns the question type string.
Returns the question type string
Definition at line 645 of file class.assQuestionGUI.php.
Referenced by getType().
assQuestionGUI::getSelfAssessmentEditingMode | ( | ) |
Get Self-Assessment Editing Mode.
Definition at line 716 of file class.assQuestionGUI.php.
Referenced by addBasicQuestionFormProperties(), addQuestionFormCommandButtons(), assTextQuestionGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assSingleChoiceGUI\feedback(), assMultipleChoiceGUI\feedback(), assImagemapQuestionGUI\feedback(), feedback(), assTextQuestionGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assSingleChoiceGUI\writePostData(), assClozeTestGUI\writePostData(), assImagemapQuestionGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 603 of file class.assQuestionGUI.php.
References $sequence_no.
Referenced by outQuestionPage().
assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 114 of file class.assQuestionGUI.php.
References getQuestionType().
assQuestionGUI::linkChilds | ( | ) |
Definition at line 1403 of file class.assQuestionGUI.php.
References $_GET, outChapterSelector(), outGlossarySelector(), outPageSelector(), and ilUtil\sendSuccess().
assQuestionGUI::originalSyncForm | ( | $return_to = "" | ) |
Definition at line 384 of file class.assQuestionGUI.php.
Referenced by saveFeedback(), and suggestedsolution().
assQuestionGUI::outAdditionalOutput | ( | ) |
assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1342 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1375 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1278 of file class.assQuestionGUI.php.
References $_GET, getContextPath(), ilLMPageObject\getPageList(), and ilUtil\prepareFormOutput().
Referenced by linkChilds().
assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false , |
|||
$active_id = "" , |
|||
$html = "" |
|||
) |
output question page
Definition at line 298 of file class.assQuestionGUI.php.
References $_GET, ilObjTest\_getTitleOutput(), getQuestionCount(), getSequenceNumber(), and ilPageObjectGUI\setTemplateTargetVar().
Referenced by assErrorTextGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assNumericGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), and assMatchingQuestionGUI\getTestOutputJS().
assQuestionGUI::outQuestionType | ( | ) |
Definition at line 971 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_getQuestionTypeName(), and ilUtil\getImagePath().
Referenced by assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assOrderingQuestionGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1205 of file class.assQuestionGUI.php.
References $_GET, ilUtil\sendInfo(), and ilExplorer\setExpand().
assQuestionGUI::save | ( | ) |
save question
Definition at line 507 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $result, $test, assQuestion\_isWriteable(), callNewIdListeners(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveEdit | ( | ) |
save question
Definition at line 456 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $result, $test, assQuestion\_isWriteable(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
assQuestionGUI::saveFeedback | ( | ) |
Saves the feedback for a single choice question.
Saves the feedback for a single choice question
public
Reimplemented in assMatchingQuestionGUI, assOrderingQuestionGUI, assClozeTestGUI, assImagemapQuestionGUI, assJavaAppletGUI, assMultipleChoiceGUI, assSingleChoiceGUI, assFlashQuestionGUI, assTextQuestionGUI, assTextSubsetGUI, assOrderingHorizontalGUI, assFileUploadGUI, assErrorTextGUI, and assNumericGUI.
Definition at line 436 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_isWriteable(), feedback(), originalSyncForm(), and ilUtil\sendSuccess().
assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1237 of file class.assQuestionGUI.php.
References $_POST, and suggestedsolution().
assQuestionGUI::setDefaultNrOfTries | ( | $a_defaultnroftries | ) |
Set Default Nr of Tries.
int | $a_defaultnroftries | Default Nr. of Tries |
Definition at line 746 of file class.assQuestionGUI.php.
assQuestionGUI::setErrorMessage | ( | $errormessage | ) |
Definition at line 623 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assErrorTextGUI\__construct(), assOrderingHorizontalGUI\__construct(), assFileUploadGUI\__construct(), assMatchingQuestionGUI\__construct(), and assFlashQuestionGUI\writePostData().
assQuestionGUI::setPreventRteUsage | ( | $a_val | ) |
Set prevent rte usage.
boolean | prevent rte usage |
Definition at line 726 of file class.assQuestionGUI.php.
assQuestionGUI::setQuestionCount | ( | $a_question_count | ) |
Definition at line 608 of file class.assQuestionGUI.php.
assQuestionGUI::setSelfAssessmentEditingMode | ( | $a_selfassessmenteditingmode | ) |
Set Self-Assessment Editing Mode.
boolean | $a_selfassessmenteditingmode | Self-Assessment Editing Mode |
Definition at line 706 of file class.assQuestionGUI.php.
assQuestionGUI::setSequenceNumber | ( | $nr | ) |
Definition at line 598 of file class.assQuestionGUI.php.
assQuestionGUI::suggestedsolution | ( | ) |
Allows to add suggested solutions for questions.
public
Definition at line 997 of file class.assQuestionGUI.php.
References $_GET, $_POST, $file, $res, $title, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilRadioMatrixInputGUI\setOptions(), and ilTextAreaInputGUI\setValue().
Referenced by saveSuggestedSolution().
assQuestionGUI::sync | ( | ) |
Definition at line 398 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
assQuestionGUI::writePostData | ( | ) |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 125 of file class.assQuestionGUI.php.
Referenced by assOrderingQuestionGUI\addanswers(), assTextSubsetGUI\addanswers(), assMultipleChoiceGUI\addchoice(), assSingleChoiceGUI\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\removeanswers(), assTextSubsetGUI\removeanswers(), assImagemapQuestionGUI\removeArea(), assMultipleChoiceGUI\removechoice(), assSingleChoiceGUI\removechoice(), assMatchingQuestionGUI\removedefinitions(), assClozeTestGUI\removegap(), assOrderingQuestionGUI\removeimageanswers(), assMultipleChoiceGUI\removeimagechoice(), assSingleChoiceGUI\removeimagechoice(), assMatchingQuestionGUI\removeimagedefinitions(), assMatchingQuestionGUI\removeimageterms(), assJavaAppletGUI\removekvp(), assMatchingQuestionGUI\removepairs(), assMatchingQuestionGUI\removeterms(), save(), saveEdit(), assFlashQuestionGUI\suggestRange(), assOrderingQuestionGUI\upanswers(), assOrderingQuestionGUI\uploadanswers(), assMultipleChoiceGUI\uploadchoice(), assSingleChoiceGUI\uploadchoice(), assMatchingQuestionGUI\uploaddefinitions(), and assMatchingQuestionGUI\uploadterms().
assQuestionGUI::$error |
Definition at line 49 of file class.assQuestionGUI.php.
assQuestionGUI::$errormessage |
Definition at line 50 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
assQuestionGUI::$lng |
Definition at line 48 of file class.assQuestionGUI.php.
Referenced by __construct().
assQuestionGUI::$object |
Definition at line 45 of file class.assQuestionGUI.php.
Referenced by callNewIdListeners().
assQuestionGUI::$prevent_rte_usage = false |
do not use rte for editing
Definition at line 64 of file class.assQuestionGUI.php.
Referenced by getPreventRteUsage().
assQuestionGUI::$question_count |
question count in test
Definition at line 59 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 55 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
assQuestionGUI::$tpl |
Definition at line 47 of file class.assQuestionGUI.php.
Referenced by __construct().