ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
MultipleChoice 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... | |
Public Member Functions inherited from SurveyQuestionGUI | |
__construct ($a_id=-1) | |
setQuestionTabs () | |
& | executeCommand () |
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) | |
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... | |
static | _getGUIClassNameForId ($a_q_id) |
static | _getClassNameForQType ($q_type) |
Data Fields inherited from SurveyQuestionGUI | |
$object | |
Protected Attributes inherited from SurveyQuestionGUI | |
$rbacsystem | |
$user | |
$access | |
$tree | |
$toolbar | |
$tabs | |
$tpl | |
$lng | |
$ctrl | |
$cumulated | |
$parent_url | |
$log | |
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 |
Definition at line 54 of file class.SurveyMultipleChoiceQuestionGUI.php.
References ilPropertyFormGUI\addItem(), object, ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
SurveyMultipleChoiceQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null , |
$a_only_user_anwers = false |
|||
) |
Definition at line 168 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $i, $options, $text, and array.
Referenced by getPrintView().
SurveyMultipleChoiceQuestionGUI::getPrintView | ( | $question_title = 1 , |
|
$show_questiontext = 1 , |
|||
$survey_id = null , |
|||
array | $a_working_data = null |
||
) |
Creates a HTML representation of the question.
private
Definition at line 217 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $options, $template, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), object, SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
SurveyMultipleChoiceQuestionGUI::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 303 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $i, $template, SurveyQuestionGUI\getMaterialOutput(), object, SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
|
protected |
Definition at line 146 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $_POST, $key, and ilPropertyFormGUI\getInput().
|
protected |
Definition at line 39 of file class.SurveyMultipleChoiceQuestionGUI.php.
SurveyMultipleChoiceQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 49 of file class.SurveyMultipleChoiceQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
|
protected |
Definition at line 110 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $_POST, $errors, $key, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ilUtil\sendFailure().