| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Text survey question GUI representation. More...
 Inheritance diagram for SurveyTextQuestionGUI:
 Inheritance diagram for SurveyTextQuestionGUI: Collaboration diagram for SurveyTextQuestionGUI:
 Collaboration diagram for SurveyTextQuestionGUI:| Public Member Functions | |
| SurveyTextQuestionGUI ($id=-1) | |
| SurveyTextQuestionGUI constructor. | |
| writePostData ($always=false) | |
| Evaluates a posted edit form and writes the form data in the question object. | |
| editQuestion () | |
| Creates an output of the edit form for the question. | |
| getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
| Creates the question output form for the learner. | |
| getPrintView ($question_title=1, $show_questiontext=1, $survey_id=null) | |
| Creates a HTML representation of the question. | |
| preview () | |
| Creates a preview of the question. | |
| setQuestionTabs () | |
| getCumulatedResultsDetails ($survey_id, $counter) | |
| Creates the detailed output of the cumulated results for the question. | |
|  Public Member Functions inherited from SurveyQuestionGUI | |
| SurveyQuestionGUI () | |
| SurveyQuestion constructor. | |
| addErrorMessage ($errormessage) | |
| outErrorMessages () | |
| & | executeCommand () | 
| execute command | |
| getCommand ($cmd) | |
| _getGUIClassNameForId ($a_q_id) | |
| _getClassNameForQType ($q_type) | |
| originalSyncForm () | |
| sync () | |
| cancelSync () | |
| save () | |
| save question | |
| cancel () | |
| cancelDeleteCategory () | |
| Cancels the form adding a phrase. | |
| material ($checkonly=FALSE) | |
| Material tab of the survey questions. | |
| deleteMaterial () | |
| addMaterial () | |
| Add materials to a question. | |
| removeMaterial () | |
| cancelExplorer () | |
| addPG () | |
| addST () | |
| addGIT () | |
| linkChilds () | |
| getPrintView ($question_title=1, $show_questiontext=1) | |
| Creates a HTML representation of the question. | |
| setQuestionTabsForClass ($guiclass) | |
| getQuestionType () | |
| Returns the question type string. | |
| getCumulatedResultRow ($counter, $css_class, $survey_id) | |
| Creates a the cumulated results row for the question. | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from SurveyQuestionGUI | |
| static & | _getQuestionGUI ($questiontype, $question_id=-1) | 
| Creates a question gui representation. | |
|  Data Fields inherited from SurveyQuestionGUI | |
| $object | |
| $tpl | |
| $lng | |
| $cumulated | |
| An array containing the cumulated results of the question for a given survey. | |
|  Protected Member Functions inherited from SurveyQuestionGUI | |
| getMaterialOutput () | |
| Creates the HTML output of the question material(s) | |
| outQuestionText ($template) | |
Text survey question GUI representation.
The SurveyTextQuestionGUI class encapsulates the GUI representation for text survey question types.
Definition at line 38 of file class.SurveyTextQuestionGUI.php.
| SurveyTextQuestionGUI::editQuestion | ( | ) | 
Creates an output of the edit form for the question.
Reimplemented from SurveyQuestionGUI.
Definition at line 97 of file class.SurveyTextQuestionGUI.php.
References $errors, $title, ilObjAdvancedEditing\_getUsedHTMLTags(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| SurveyTextQuestionGUI::getCumulatedResultsDetails | ( | $survey_id, | |
| $counter | |||
| ) | 
Creates the detailed output of the cumulated results for the question.
| integer | $survey_id | The database ID of the survey | 
| integer | $counter | The counter of the question position in the survey | 
Definition at line 319 of file class.SurveyTextQuestionGUI.php.
References ilObjSurvey\_getNrOfParticipants().
 Here is the call graph for this function:
 Here is the call graph for this function:| SurveyTextQuestionGUI::getPrintView | ( | $question_title = 1, | |
| $show_questiontext = 1, | |||
| $survey_id = null | |||
| ) | 
Creates a HTML representation of the question.
Definition at line 268 of file class.SurveyTextQuestionGUI.php.
References ilUtil\getHtmlPath(), ilUtil\getImagePath(), and SurveyQuestionGUI\outQuestionText().
 Here is the call graph for this function:
 Here is the call graph for this function:| SurveyTextQuestionGUI::getWorkingForm | ( | $working_data = "", | |
| $question_title = 1, | |||
| $show_questiontext = 1, | |||
| $error_message = "", | |||
| $survey_id = null | |||
| ) | 
Creates the question output form for the learner.
Definition at line 205 of file class.SurveyTextQuestionGUI.php.
References SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Referenced by preview().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| SurveyTextQuestionGUI::preview | ( | ) | 
Creates a preview of the question.
Creates a preview of the question
private
Definition at line 299 of file class.SurveyTextQuestionGUI.php.
References getWorkingForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| SurveyTextQuestionGUI::setQuestionTabs | ( | ) | 
Definition at line 306 of file class.SurveyTextQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
 Here is the call graph for this function:
 Here is the call graph for this function:| SurveyTextQuestionGUI::SurveyTextQuestionGUI | ( | $id = -1 | ) | 
SurveyTextQuestionGUI constructor.
The constructor takes possible arguments an creates an instance of the SurveyTextQuestionGUI object.
| integer | $id | The database id of a text question object public | 
Definition at line 49 of file class.SurveyTextQuestionGUI.php.
References SurveyQuestionGUI\SurveyQuestionGUI().
 Here is the call graph for this function:
 Here is the call graph for this function:| SurveyTextQuestionGUI::writePostData | ( | $always = false | ) | 
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 69 of file class.SurveyTextQuestionGUI.php.
References $_POST, and editQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function: