|
ILIAS
Release_5_0_x_branch Revision 61816
|
Text survey question GUI representation. More...
Inheritance diagram for SurveyTextQuestionGUI:
Collaboration diagram for SurveyTextQuestionGUI:Public Member Functions | |
| setQuestionTabs () | |
| getParsedAnswers (array $a_working_data=null, $a_only_user_anwers=false) | |
| getPrintView ($question_title=1, $show_questiontext=1, $survey_id=null, array $a_working_data=null) | |
| getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
| Creates the question output form for the learner. | |
| getCumulatedResultsDetails ($survey_id, $counter, $finished_ids) | |
| Creates the detailed output of the cumulated results for the question. | |
Public Member Functions inherited from SurveyQuestionGUI | |
| __construct ($a_id=-1) | |
| & | executeCommand () |
| _getGUIClassNameForId ($a_q_id) | |
| _getClassNameForQType ($q_type) | |
| getQuestionType () | |
| Returns the question type string. | |
| setBackUrl ($a_url) | |
| setQuestionTabsForClass ($guiclass) | |
| getPrintView ($question_title=1, $show_questiontext=1) | |
| preview () | |
| Creates a preview of the question. | |
| material ($checkonly=FALSE) | |
| Material tab of the survey questions. | |
| deleteMaterial () | |
| addMaterial () | |
| Add materials to a question. | |
| removeMaterial () | |
| cancelExplorer () | |
| addPG () | |
| addST () | |
| addGIT () | |
| linkChilds () | |
| savePhrase ($a_reload=false) | |
| Creates an output to save the current answers as a phrase. | |
| confirmSavePhrase () | |
| Save a new phrase to the database. | |
Protected Member Functions | |
| initObject () | |
| addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
| importEditFormValues (ilPropertyFormGUI $a_form) | |
Protected Member Functions inherited from SurveyQuestionGUI | |
| outQuestionText ($template) | |
| initEditForm () | |
| addCommandButtons ($a_form) | |
| editQuestion (ilPropertyFormGUI $a_form=null) | |
| saveSync () | |
| saveReturn () | |
| saveForm () | |
| save ($a_return=false, $a_sync=false) | |
| copySyncForm () | |
| syncCopies () | |
| originalSyncForm () | |
| sync () | |
| cancelSync () | |
| redirectAfterSaving ($a_return=false) | |
| Redirect to calling survey or to edit form. | |
| cancel () | |
| validateEditForm (ilPropertyFormGUI $a_form) | |
| getMaterialOutput () | |
| Creates the HTML output of the question material(s) | |
| renderChart ($a_id, $a_variables) | |
| initPhrasesForm () | |
| addPhrase (ilPropertyFormGUI $a_form=null) | |
| Creates an output for the addition of phrases. | |
| addSelectedPhrase () | |
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 | |
Protected Attributes inherited from SurveyQuestionGUI | |
| $tpl | |
| $lng | |
| $ctrl | |
| $cumulated | |
| $parent_url | |
Text survey question GUI representation.
The SurveyTextQuestionGUI class encapsulates the GUI representation for text survey question types.
Definition at line 37 of file class.SurveyTextQuestionGUI.php.
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 55 of file class.SurveyTextQuestionGUI.php.
References ilPropertyFormGUI\addItem(), and ilFormPropertyGUI\setRequired().
Here is the call graph for this function:| SurveyTextQuestionGUI::getCumulatedResultsDetails | ( | $survey_id, | |
| $counter, | |||
| $finished_ids | |||
| ) |
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 |
Reimplemented from SurveyQuestionGUI.
Definition at line 229 of file class.SurveyTextQuestionGUI.php.
References ilObjSurvey\_getNrOfParticipants().
Here is the call graph for this function:| SurveyTextQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null, |
$a_only_user_anwers = false |
|||
| ) |
Definition at line 98 of file class.SurveyTextQuestionGUI.php.
References $res.
Referenced by getPrintView().
Here is the caller graph for this function:| SurveyTextQuestionGUI::getPrintView | ( | $question_title = 1, |
|
$show_questiontext = 1, |
|||
$survey_id = null, |
|||
| array | $a_working_data = null |
||
| ) |
Definition at line 110 of file class.SurveyTextQuestionGUI.php.
References ilUtil\getHtmlPath(), ilUtil\getImagePath(), getParsedAnswers(), and SurveyQuestionGUI\outQuestionText().
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.
Reimplemented from SurveyQuestionGUI.
Definition at line 156 of file class.SurveyTextQuestionGUI.php.
References SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 90 of file class.SurveyTextQuestionGUI.php.
References ilPropertyFormGUI\getInput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 39 of file class.SurveyTextQuestionGUI.php.
| SurveyTextQuestionGUI::setQuestionTabs | ( | ) |
Reimplemented from SurveyQuestionGUI.
Definition at line 50 of file class.SurveyTextQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function: