|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
MultipleChoice survey question GUI representation. More...
Inheritance diagram for SurveyMultipleChoiceQuestionGUI:
Collaboration diagram for SurveyMultipleChoiceQuestionGUI: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) | |
| Creates a HTML representation of the question. More... | |
| getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
| Creates the question output form for the learner. More... | |
| getCumulatedResultsDetails ($survey_id, $counter, $finished_ids) | |
| Creates the detailed output of the cumulated results for the question. More... | |
Public Member Functions inherited from SurveyQuestionGUI | |
| __construct ($a_id=-1) | |
| setQuestionTabs () | |
| & | executeCommand () |
| _getGUIClassNameForId ($a_q_id) | |
| _getClassNameForQType ($q_type) | |
| getQuestionType () | |
| Returns the question type string. More... | |
| setBackUrl ($a_url) | |
| setQuestionTabsForClass ($guiclass) | |
| getPrintView ($question_title=1, $show_questiontext=1) | |
| preview () | |
| Creates a preview of the question. More... | |
| getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
| getCumulatedResultsDetails ($survey_id, $counter, $finished_ids) | |
| material ($checkonly=FALSE) | |
| Material tab of the survey questions. More... | |
| deleteMaterial () | |
| addMaterial () | |
| Add materials to a question. More... | |
| removeMaterial () | |
| cancelExplorer () | |
| addPG () | |
| addST () | |
| addGIT () | |
| linkChilds () | |
| savePhrase ($a_reload=false) | |
| Creates an output to save the current answers as a phrase. More... | |
| confirmSavePhrase () | |
| Save a new phrase to the database. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SurveyQuestionGUI | |
| static & | _getQuestionGUI ($questiontype, $question_id=-1) |
| Creates a question gui representation. More... | |
Data Fields inherited from SurveyQuestionGUI | |
| $object | |
Protected Attributes inherited from SurveyQuestionGUI | |
| $tpl | |
| $lng | |
| $ctrl | |
| $cumulated | |
| $parent_url | |
MultipleChoice survey question GUI representation.
The SurveyMultipleChoiceQuestionGUI class encapsulates the GUI representation for multiple choice survey question types.
Definition at line 37 of file class.SurveyMultipleChoiceQuestionGUI.php.
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 54 of file class.SurveyMultipleChoiceQuestionGUI.php.
References ilPropertyFormGUI\addItem().
Here is the call graph for this function:| SurveyMultipleChoiceQuestionGUI::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 528 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $html, ilObjSurvey\_getNrOfParticipants(), SurveyQuestionGUI\renderChart(), and SurveyQuestionGUI\renderStatisticsDetailsTable().
Here is the call graph for this function:| SurveyMultipleChoiceQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null, |
$a_only_user_anwers = false |
|||
| ) |
Definition at line 175 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $options, and $text.
Referenced by getPrintView().
Here is the caller graph for this function:| SurveyMultipleChoiceQuestionGUI::getPrintView | ( | $question_title = 1, |
|
$show_questiontext = 1, |
|||
$survey_id = null, |
|||
| array | $a_working_data = null |
||
| ) |
Creates a HTML representation of the question.
@access private
Definition at line 230 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $options, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| SurveyMultipleChoiceQuestionGUI::getWorkingForm | ( | $working_data = "", |
|
$question_title = 1, |
|||
$show_questiontext = 1, |
|||
$error_message = "", |
|||
$survey_id = null |
|||
| ) |
Creates the question output form for the learner.
@access public
Reimplemented from SurveyQuestionGUI.
Definition at line 334 of file class.SurveyMultipleChoiceQuestionGUI.php.
References SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 153 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $_POST, and ilPropertyFormGUI\getInput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 39 of file class.SurveyMultipleChoiceQuestionGUI.php.
| SurveyMultipleChoiceQuestionGUI::setQuestionTabs | ( | ) |
Reimplemented from SurveyQuestionGUI.
Definition at line 49 of file class.SurveyMultipleChoiceQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 111 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $_POST, $errors, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ilUtil\sendFailure().
Here is the call graph for this function: