|
ILIAS
Release_3_10_x_branch Revision 61812
|
Metric survey question GUI representation. More...
Inheritance diagram for SurveyMetricQuestionGUI:
Collaboration diagram for SurveyMetricQuestionGUI:Public Member Functions | |
| SurveyMetricQuestionGUI ($id=-1) | |
| SurveyMetricQuestionGUI constructor. | |
| editQuestion () | |
| Creates an output of the edit form for the question. | |
| writePostData () | |
| Evaluates a posted edit form and writes the form data in the question object. | |
| getPrintView ($question_title=1, $show_questiontext=1, $survey_id=null) | |
| Creates a HTML representation of the question. | |
| getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
| Creates the question output form for the learner. | |
| preview () | |
| Creates a preview of the question. | |
| setQuestionTabs () | |
| getCumulatedResultRow ($counter, $css_class, $survey_id) | |
| Creates a the cumulated results row for the question. | |
| 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. | |
| addMaterial () | |
| 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. | |
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 | |
Metric survey question GUI representation.
The SurveyMetricQuestionGUI class encapsulates the GUI representation for metric survey question types.
Definition at line 38 of file class.SurveyMetricQuestionGUI.php.
| SurveyMetricQuestionGUI::editQuestion | ( | ) |
Creates an output of the edit form for the question.
Creates an output of the edit form for the question
public
Reimplemented from SurveyQuestionGUI.
Definition at line 69 of file class.SurveyMetricQuestionGUI.php.
References $_GET, SurveyQuestion\_getInternalLinkHref(), ilRTE\_getRTEClassname(), ilObject\_lookupType(), ilUtil\prepareFormOutput(), SUBTYPE_NON_RATIO, SUBTYPE_RATIO_ABSOLUTE, and SUBTYPE_RATIO_NON_ABSOLUTE.
Here is the call graph for this function:| SurveyMetricQuestionGUI::getCumulatedResultRow | ( | $counter, | |
| $css_class, | |||
| $survey_id | |||
| ) |
Creates a the cumulated results row for the question.
Creates a the cumulated results row for the question
Reimplemented from SurveyQuestionGUI.
Definition at line 351 of file class.SurveyMetricQuestionGUI.php.
References ilObjSurvey\_getNrOfParticipants().
Here is the call graph for this function:| SurveyMetricQuestionGUI::getCumulatedResultsDetails | ( | $survey_id, | |
| $counter | |||
| ) |
Creates the detailed output of the cumulated results for the question.
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 390 of file class.SurveyMetricQuestionGUI.php.
References $data, ilObjSurvey\_getNrOfParticipants(), SUBTYPE_NON_RATIO, SUBTYPE_RATIO_ABSOLUTE, and SUBTYPE_RATIO_NON_ABSOLUTE.
Here is the call graph for this function:| SurveyMetricQuestionGUI::getPrintView | ( | $question_title = 1, |
|
$show_questiontext = 1, |
|||
$survey_id = null |
|||
| ) |
Creates a HTML representation of the question.
Creates a HTML representation of the question
private
Definition at line 228 of file class.SurveyMetricQuestionGUI.php.
| SurveyMetricQuestionGUI::getWorkingForm | ( | $working_data = "", |
|
$question_title = 1, |
|||
$show_questiontext = 1, |
|||
$error_message = "", |
|||
$survey_id = null |
|||
| ) |
Creates the question output form for the learner.
Creates the question output form for the learner
public
Definition at line 266 of file class.SurveyMetricQuestionGUI.php.
References SurveyQuestion\_getInternalLinkHref().
Referenced by preview().
Here is the call graph for this function:
Here is the caller graph for this function:| SurveyMetricQuestionGUI::preview | ( | ) |
Creates a preview of the question.
Creates a preview of the question
private
Definition at line 331 of file class.SurveyMetricQuestionGUI.php.
References getWorkingForm().
Here is the call graph for this function:| SurveyMetricQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 338 of file class.SurveyMetricQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function:| SurveyMetricQuestionGUI::SurveyMetricQuestionGUI | ( | $id = -1 | ) |
SurveyMetricQuestionGUI constructor.
The constructor takes possible arguments an creates an instance of the SurveyMetricQuestionGUI object.
| integer | $id | The database id of a metric question object public |
Definition at line 48 of file class.SurveyMetricQuestionGUI.php.
References SurveyQuestionGUI\SurveyQuestionGUI().
Here is the call graph for this function:| SurveyMetricQuestionGUI::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
Definition at line 171 of file class.SurveyMetricQuestionGUI.php.
References $result, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), SurveyQuestionGUI\addErrorMessage(), and ilUtil\stripSlashes().
Here is the call graph for this function: