ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
setQuestionTabs () | |
getParsedAnswers (array $a_working_data=null, $a_only_user_anwers=false) | |
getPrintView (int $question_title=1, bool $show_questiontext=true, ?int $survey_id=null, ?array $working_data=null) | |
getWorkingForm (array $working_data=null, int $question_title=1, bool $show_questiontext=true, string $error_message="", int $survey_id=null, bool $compress_view=false) | |
Creates the question output form for the learner. More... | |
![]() | |
__construct ($a_id=-1) | |
setQuestionTabs () | |
executeCommand () | |
getQuestionType () | |
Returns the question type string. More... | |
setBackUrl (string $a_url) | |
setQuestionTabsForClass (string $guiclass) | |
getPrintView (int $question_title=1, bool $show_questiontext=true, ?int $survey_id=null, ?array $working_data=null) | |
preview () | |
getWorkingForm (array $working_data=null, int $question_title=1, bool $show_questiontext=true, string $error_message="", int $survey_id=null, bool $compress_view=false) | |
material (bool $checkonly=false) | |
Material tab of the survey questions. More... | |
deleteMaterial () | |
addMaterial () | |
Add materials to a question. More... | |
removeMaterial () | |
cancelExplorer () | |
addPG () | |
addST () | |
addGIT () | |
linkChilds () | |
savePhrase (bool $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 (?string $questiontype, int $question_id=-1) |
Creates a question gui representation. More... | |
static | _getGUIClassNameForId (int $a_q_id) |
static | _getClassNameForQType (string $q_type) |
![]() | |
SurveyQuestion | $object = null |
![]() | |
EditingGUIRequest | $request |
EditManager | $edit_manager |
ilRbacSystem | $rbacsystem |
ilObjUser | $user |
ilAccessHandler | $access |
ilTree | $tree |
ilToolbarGUI | $toolbar |
ilTabsGUI | $tabs |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilCtrl | $ctrl |
array | $cumulated = [] |
string | $parent_url = "" |
ilLogger | $log |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning MultipleChoice survey question GUI representation The SurveyMultipleChoiceQuestionGUI class encapsulates the GUI representation for multiple choice survey question types.
Definition at line 25 of file class.SurveyMultipleChoiceQuestionGUI.php.
|
protected |
Definition at line 41 of file class.SurveyMultipleChoiceQuestionGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
SurveyMultipleChoiceQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null , |
$a_only_user_anwers = false |
|||
) |
Definition at line 157 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $i.
Referenced by getPrintView().
SurveyMultipleChoiceQuestionGUI::getPrintView | ( | int | $question_title = 1 , |
bool | $show_questiontext = true , |
||
?int | $survey_id = null , |
||
?array | $working_data = null |
||
) |
Definition at line 203 of file class.SurveyMultipleChoiceQuestionGUI.php.
References ilUtil\getHtmlPath(), ilUtil\getImagePath(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), ILIAS\Repository\lng(), ILIAS\Repository\object(), SurveyQuestionGUI\outQuestionText(), and ilLegacyFormElementsUtil\prepareFormOutput().
SurveyMultipleChoiceQuestionGUI::getWorkingForm | ( | array | $working_data = null , |
int | $question_title = 1 , |
||
bool | $show_questiontext = true , |
||
string | $error_message = "" , |
||
int | $survey_id = null , |
||
bool | $compress_view = false |
||
) |
Creates the question output form for the learner.
Definition at line 295 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $i, SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\getQuestionTitle(), ILIAS\Repository\lng(), ILIAS\Repository\object(), SurveyQuestionGUI\outQuestionText(), and ilLegacyFormElementsUtil\prepareFormOutput().
|
protected |
Definition at line 134 of file class.SurveyMultipleChoiceQuestionGUI.php.
References ILIAS\LTI\ToolProvider\$key, and ilPropertyFormGUI\getInput().
|
protected |
Definition at line 27 of file class.SurveyMultipleChoiceQuestionGUI.php.
SurveyMultipleChoiceQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 36 of file class.SurveyMultipleChoiceQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
|
protected |
Definition at line 96 of file class.SurveyMultipleChoiceQuestionGUI.php.
References $errors, ILIAS\LTI\ToolProvider\$key, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ILIAS\Repository\lng().