ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Metric survey question GUI representation. More...
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... | |
![]() | |
__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 & | _getQuestionGUI ($questiontype, $question_id=-1) |
Creates a question gui representation. More... | |
![]() | |
$object | |
![]() | |
$tpl | |
$lng | |
$ctrl | |
$cumulated | |
$parent_url | |
Metric survey question GUI representation.
The SurveyMetricQuestionGUI class encapsulates the GUI representation for metric survey question types.
Definition at line 37 of file class.SurveyMetricQuestionGUI.php.
|
protected |
Definition at line 55 of file class.SurveyMetricQuestionGUI.php.
References ilPropertyFormGUI\addItem(), ilNumberInputGUI\setDecimals(), ilFormPropertyGUI\setRequired(), SurveyMetricQuestion\SUBTYPE_NON_RATIO, SurveyMetricQuestion\SUBTYPE_RATIO_ABSOLUTE, and SurveyMetricQuestion\SUBTYPE_RATIO_NON_ABSOLUTE.
SurveyMetricQuestionGUI::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 275 of file class.SurveyMetricQuestionGUI.php.
References ilObjSurvey\_getNrOfParticipants(), renderChart(), SurveyMetricQuestion\SUBTYPE_NON_RATIO, SurveyMetricQuestion\SUBTYPE_RATIO_ABSOLUTE, and SurveyMetricQuestion\SUBTYPE_RATIO_NON_ABSOLUTE.
SurveyMetricQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null , |
$a_only_user_anwers = false |
|||
) |
Definition at line 144 of file class.SurveyMetricQuestionGUI.php.
References $res.
Referenced by getPrintView().
SurveyMetricQuestionGUI::getPrintView | ( | $question_title = 1 , |
|
$show_questiontext = 1 , |
|||
$survey_id = null , |
|||
array | $a_working_data = null |
||
) |
Creates a HTML representation of the question.
Creates a HTML representation of the question
private
Definition at line 163 of file class.SurveyMetricQuestionGUI.php.
References getParsedAnswers(), and SurveyQuestionGUI\outQuestionText().
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 214 of file class.SurveyMetricQuestionGUI.php.
References SurveyQuestionGUI\getMaterialOutput(), and SurveyQuestionGUI\outQuestionText().
|
protected |
Definition at line 135 of file class.SurveyMetricQuestionGUI.php.
References ilPropertyFormGUI\getInput().
|
protected |
Definition at line 39 of file class.SurveyMetricQuestionGUI.php.
|
protected |
Definition at line 374 of file class.SurveyMetricQuestionGUI.php.
References $data, ilChartGrid\DATA_BARS, ilChart\getInstanceByType(), and ilChart\TYPE_GRID.
Referenced by getCumulatedResultsDetails().
SurveyMetricQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 50 of file class.SurveyMetricQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().