|
ILIAS
Release_3_10_x_branch Revision 61812
|
Java applet question GUI representation. More...
Inheritance diagram for assJavaAppletGUI:
Collaboration diagram for assJavaAppletGUI:Public Member Functions | |
| assJavaAppletGUI ($id=-1) | |
| assJavaAppletGUI constructor | |
| getCommand ($cmd) | |
| editQuestion () | |
| Creates an output of the edit form for the question. | |
| uploadingJavaApplet () | |
| save question to db and return to question pool | |
| removeJavaapplet () | |
| save question to db and return to question pool | |
| addParameter () | |
| save question to db and return to question pool | |
| delete () | |
| delete a parameter | |
| writePostData () | |
| Evaluates a posted edit form and writes the form data in the question object. | |
| outQuestionForTest ($formaction, $active_id, $pass=NULL, $is_postponed=FALSE, $use_post_solutions=FALSE) | |
| getSolutionOutput ($active_id, $pass=NULL, $graphicalOutput=FALSE, $result_output=FALSE, $show_question_only=TRUE, $show_feedback=FALSE, $show_correct_solution=FALSE) | |
| getPreview ($show_question_only=FALSE) | |
| getTestOutput ($active_id, $pass=NULL, $is_postponed=FALSE, $use_post_solutions=FALSE) | |
| checkInput () | |
| check input fields | |
| addSuggestedSolution () | |
| Handler for cmd[addSuggestedSolution] to add a suggested solution for the question. | |
| saveFeedback () | |
| Saves the feedback for a single choice question. | |
| feedback () | |
| Creates the output of the feedback page for a single choice question. | |
| setQuestionTabs () | |
| Sets the ILIAS tabs for this question type. | |
Public Member Functions inherited from assQuestionGUI | |
| assQuestionGUI () | |
| assQuestionGUI constructor | |
| & | executeCommand () |
| execute command | |
| getType () | |
| needed for page editor compliance | |
| outOtherQuestionData () | |
| Sets the extra fields i.e. | |
| assessment () | |
| output assessment | |
| writeOtherPostData ($result=0) | |
| Sets the other data i.e. | |
| & | _getQuestionGUI ($question_type, $question_id=-1) |
| Creates a question gui representation. | |
| _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 () | |
| saveEdit () | |
| save question | |
| save () | |
| save question | |
| apply () | |
| apply changes | |
| cancelExplorer () | |
| removeSuggestedSolution () | |
| addPG () | |
| addST () | |
| addGIT () | |
| getContextPath ($cont_obj, $a_endnode_id, $a_startnode_id=1) | |
| get context path in content object tree | |
| linkChilds () | |
| 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. | |
| getAnswerFeedbackOutput ($active_id, $pass) | |
| Returns the answer specific feedback depending on the results of the question. | |
| outQuestionType () | |
Additional Inherited Members | |
Data Fields inherited from assQuestionGUI | |
| $object | |
| $tpl | |
| $lng | |
| $error | |
| $errormessage | |
| $sequence_no | |
| sequence number in test | |
| $question_count | |
| question count in test | |
Java applet question GUI representation.
The assJavaAppletGUI class encapsulates the GUI representation for java applet questions.
Definition at line 37 of file class.assJavaAppletGUI.php.
| assJavaAppletGUI::addParameter | ( | ) |
save question to db and return to question pool
Definition at line 284 of file class.assJavaAppletGUI.php.
References editQuestion(), and writePostData().
Here is the call graph for this function:| assJavaAppletGUI::addSuggestedSolution | ( | ) |
Handler for cmd[addSuggestedSolution] to add a suggested solution for the question.
Handler for cmd[addSuggestedSolution] to add a suggested solution for the question
public
Reimplemented from assQuestionGUI.
Definition at line 756 of file class.assJavaAppletGUI.php.
References $_SESSION, $result, editQuestion(), assQuestionGUI\getErrorMessage(), assQuestionGUI\getQuestionTemplate(), ilUtil\sendInfo(), and writePostData().
Here is the call graph for this function:| assJavaAppletGUI::assJavaAppletGUI | ( | $id = -1 | ) |
assJavaAppletGUI constructor
The constructor takes possible arguments an creates an instance of the assJavaAppletGUI object.
| integer | $id | The database id of a image map question object public |
Definition at line 47 of file class.assJavaAppletGUI.php.
References assQuestionGUI\assQuestionGUI().
Here is the call graph for this function:| assJavaAppletGUI::checkInput | ( | ) |
check input fields
Definition at line 745 of file class.assJavaAppletGUI.php.
Referenced by writePostData().
Here is the caller graph for this function:| assJavaAppletGUI::delete | ( | ) |
delete a parameter
Definition at line 293 of file class.assJavaAppletGUI.php.
References editQuestion(), and writePostData().
Here is the call graph for this function:| assJavaAppletGUI::editQuestion | ( | ) |
Creates an output of the edit form for the question.
Creates an output of the edit form for the question
public
Definition at line 76 of file class.assJavaAppletGUI.php.
References $_GET, assQuestion\_getInternalLinkHref(), ilRTE\_getRTEClassname(), ilObject\_lookupType(), assQuestionGUI\getQuestionTemplate(), assQuestionGUI\outOtherQuestionData(), assQuestionGUI\outQuestionType(), ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
Referenced by addParameter(), addSuggestedSolution(), delete(), removeJavaapplet(), and uploadingJavaApplet().
Here is the call graph for this function:
Here is the caller graph for this function:| assJavaAppletGUI::feedback | ( | ) |
Creates the output of the feedback page for a single choice question.
Creates the output of the feedback page for a single choice question
public
Reimplemented from assQuestionGUI.
Definition at line 803 of file class.assJavaAppletGUI.php.
References $_GET, ilRTE\_getRTEClassname(), ilObject\_lookupType(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| assJavaAppletGUI::getCommand | ( | $cmd | ) |
Reimplemented from assQuestionGUI.
Definition at line 60 of file class.assJavaAppletGUI.php.
References $cmd.
| assJavaAppletGUI::getPreview | ( | $show_question_only = FALSE | ) |
Definition at line 548 of file class.assJavaAppletGUI.php.
References $_COOKIE, and assQuestionGUI\getILIASPage().
Here is the call graph for this function:| assJavaAppletGUI::getSolutionOutput | ( | $active_id, | |
$pass = NULL, |
|||
$graphicalOutput = FALSE, |
|||
$result_output = FALSE, |
|||
$show_question_only = TRUE, |
|||
$show_feedback = FALSE, |
|||
$show_correct_solution = FALSE |
|||
| ) |
Definition at line 387 of file class.assJavaAppletGUI.php.
References $_COOKIE, $pass, ilObjTest\_getObjectIDFromTestID(), ilObjTest\_getPass(), ilObjTest\_lookupAnonymity(), assQuestionGUI\getAnswerFeedbackOutput(), assQuestionGUI\getILIASPage(), and ilUtil\getImagePath().
Here is the call graph for this function:| assJavaAppletGUI::getTestOutput | ( | $active_id, | |
$pass = NULL, |
|||
$is_postponed = FALSE, |
|||
$use_post_solutions = FALSE |
|||
| ) |
Definition at line 615 of file class.assJavaAppletGUI.php.
References $_COOKIE, $pass, ilObjTest\_getObjectIDFromTestID(), ilObjTest\_getPass(), ilObjTest\_getUsePreviousAnswers(), ilObjTest\_lookupAnonymity(), assQuestionGUI\outQuestionPage(), and ilUtil\removeTrailingPathSeparators().
Referenced by outQuestionForTest().
Here is the call graph for this function:
Here is the caller graph for this function:| assJavaAppletGUI::outQuestionForTest | ( | $formaction, | |
| $active_id, | |||
$pass = NULL, |
|||
$is_postponed = FALSE, |
|||
$use_post_solutions = FALSE |
|||
| ) |
Definition at line 380 of file class.assJavaAppletGUI.php.
References $pass, and getTestOutput().
Here is the call graph for this function:| assJavaAppletGUI::removeJavaapplet | ( | ) |
save question to db and return to question pool
Definition at line 274 of file class.assJavaAppletGUI.php.
References editQuestion().
Here is the call graph for this function:| assJavaAppletGUI::saveFeedback | ( | ) |
Saves the feedback for a single choice question.
Saves the feedback for a single choice question
public
Reimplemented from assQuestionGUI.
Definition at line 787 of file class.assJavaAppletGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilUtil\stripSlashes().
Here is the call graph for this function:| assJavaAppletGUI::setQuestionTabs | ( | ) |
Sets the ILIAS tabs for this question type.
Sets the ILIAS tabs for this question type
public
Definition at line 837 of file class.assJavaAppletGUI.php.
References $_GET, and $ref_id.
| assJavaAppletGUI::uploadingJavaApplet | ( | ) |
save question to db and return to question pool
Definition at line 259 of file class.assJavaAppletGUI.php.
References $result, editQuestion(), and writePostData().
Here is the call graph for this function:| assJavaAppletGUI::writePostData | ( | ) |
Evaluates a posted edit form and writes the form data in the question object.
Evaluates a posted edit form and writes the form data in the question object
Reimplemented from assQuestionGUI.
Definition at line 307 of file class.assJavaAppletGUI.php.
References $result, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), checkInput(), assQuestionGUI\setErrorMessage(), ilUtil\stripSlashes(), and assQuestionGUI\writeOtherPostData().
Referenced by addParameter(), addSuggestedSolution(), delete(), and uploadingJavaApplet().
Here is the call graph for this function:
Here is the caller graph for this function: