|
ILIAS
release_4-4 Revision
|
SingleChoice survey question GUI representation. More...
Inheritance diagram for SurveySingleChoiceQuestionGUI:
Collaboration diagram for SurveySingleChoiceQuestionGUI:Public Member Functions | |
| setQuestionTabs () | |
| getPrintView ($question_title=1, $show_questiontext=1, $survey_id=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... | |
Protected Member Functions | |
| initObject () | |
| addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
| importEditFormValues (ilPropertyFormGUI $a_form) | |
Protected Member Functions inherited from SurveyQuestionGUI | |
| initObject () | |
| 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. More... | |
| cancel () | |
| validateEditForm (ilPropertyFormGUI $a_form) | |
| addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
| importEditFormValues (ilPropertyFormGUI $a_form) | |
| getMaterialOutput () | |
| Creates the HTML output of the question material(s) More... | |
| renderChart ($a_id, $a_variables) | |
| initPhrasesForm () | |
| addPhrase (ilPropertyFormGUI $a_form=null) | |
| Creates an output for the addition of phrases. More... | |
| addSelectedPhrase () | |
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 | |
SingleChoice survey question GUI representation.
The SurveySingleChoiceQuestionGUI class encapsulates the GUI representation for single choice survey question types.
Definition at line 37 of file class.SurveySingleChoiceQuestionGUI.php.
|
protected |
Definition at line 55 of file class.SurveySingleChoiceQuestionGUI.php.
References ilPropertyFormGUI\addItem(), and ilFormPropertyGUI\setRequired().
Here is the call graph for this function:| SurveySingleChoiceQuestionGUI::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 |
Definition at line 408 of file class.SurveySingleChoiceQuestionGUI.php.
References ilObjSurvey\_getNrOfParticipants(), and SurveyQuestionGUI\renderChart().
Here is the call graph for this function:| SurveySingleChoiceQuestionGUI::getPrintView | ( | $question_title = 1, |
|
$show_questiontext = 1, |
|||
$survey_id = null |
|||
| ) |
Creates a HTML representation of the question.
private
Definition at line 108 of file class.SurveySingleChoiceQuestionGUI.php.
References ilUtil\getHtmlPath(), ilUtil\getImagePath(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| SurveySingleChoiceQuestionGUI::getWorkingForm | ( | $working_data = "", |
|
$question_title = 1, |
|||
$show_questiontext = 1, |
|||
$error_message = "", |
|||
$survey_id = null |
|||
| ) |
Creates the question output form for the learner.
public
Definition at line 216 of file class.SurveySingleChoiceQuestionGUI.php.
References SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:
|
protected |
Definition at line 87 of file class.SurveySingleChoiceQuestionGUI.php.
References $_POST, and ilPropertyFormGUI\getInput().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.SurveySingleChoiceQuestionGUI.php.
| SurveySingleChoiceQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 50 of file class.SurveySingleChoiceQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function: