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, bool $a_only_user_anwers=false) | |
getPrintView (int $question_title=1, bool $show_questiontext=true, ?int $survey_id=null, ?array $working_data=null) | |
layout () | |
Creates a layout view of the question. More... | |
saveLayout () | |
Saves the layout for the matrix question. More... | |
getLayoutRow () | |
Creates a row to define the matrix question layout with percentage values. More... | |
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... | |
Protected Attributes | |
bool | $show_layout_row = false |
![]() | |
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 |
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 |
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 Matrix question GUI representation
Definition at line 23 of file class.SurveyMatrixQuestionGUI.php.
|
protected |
Definition at line 41 of file class.SurveyMatrixQuestionGUI.php.
References $rows, ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
SurveyMatrixQuestionGUI::getLayoutRow | ( | ) |
Creates a row to define the matrix question layout with percentage values.
Definition at line 517 of file class.SurveyMatrixQuestionGUI.php.
References ILIAS\Repository\object().
Referenced by getPrintView(), and getWorkingForm().
SurveyMatrixQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null , |
bool | $a_only_user_anwers = false |
||
) |
Definition at line 198 of file class.SurveyMatrixQuestionGUI.php.
Referenced by getPrintView().
SurveyMatrixQuestionGUI::getPrintView | ( | int | $question_title = 1 , |
bool | $show_questiontext = true , |
||
?int | $survey_id = null , |
||
?array | $working_data = null |
||
) |
Definition at line 253 of file class.SurveyMatrixQuestionGUI.php.
References $i, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getLayoutRow(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), ILIAS\Repository\lng(), ILIAS\Repository\object(), SurveyQuestionGUI\outQuestionText(), and ilLegacyFormElementsUtil\prepareFormOutput().
SurveyMatrixQuestionGUI::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 555 of file class.SurveyMatrixQuestionGUI.php.
References $data, $i, getLayoutRow(), SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\getQuestionTitle(), ILIAS\Repository\object(), SurveyQuestionGUI\outQuestionText(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by layout().
|
protected |
Definition at line 158 of file class.SurveyMatrixQuestionGUI.php.
References ILIAS\LTI\ToolProvider\$key, $rows, and ilPropertyFormGUI\getInput().
|
protected |
Definition at line 27 of file class.SurveyMatrixQuestionGUI.php.
SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
Definition at line 470 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\$tabs, ilTabsGUI\activateTab(), ILIAS\Repository\ctrl(), getWorkingForm(), and ILIAS\Repository\lng().
Referenced by saveLayout().
SurveyMatrixQuestionGUI::saveLayout | ( | ) |
Saves the layout for the matrix question.
Definition at line 487 of file class.SurveyMatrixQuestionGUI.php.
References layout(), and ILIAS\Repository\lng().
SurveyMatrixQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 36 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
|
protected |
Definition at line 25 of file class.SurveyMatrixQuestionGUI.php.