ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
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) | |
Protected Member Functions | |
initObject () | |
addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
importEditFormValues (ilPropertyFormGUI $a_form) | |
![]() | |
initObject () | |
outQuestionText (ilTemplate $template) | |
initEditForm () | |
addCommandButtons (ilPropertyFormGUI $a_form) | |
editQuestion (?ilPropertyFormGUI $a_form=null) | |
saveSync () | |
saveReturn () | |
saveForm () | |
save (bool $a_return=false, bool $a_sync=false) | |
copySyncForm () | |
syncCopies () | |
originalSyncForm () | |
sync () | |
cancelSync () | |
redirectAfterSaving (bool $a_return=false) | |
Redirect to calling survey or to edit form. More... | |
cancel () | |
validateEditForm (ilPropertyFormGUI $a_form) | |
addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
importEditFormValues (ilPropertyFormGUI $a_form) | |
getPrintViewQuestionTitle (int $question_title=1) | |
getQuestionTitle (int $question_title_mode=1) | |
renderStatisticsDetailsTable (array $a_head, array $a_rows, ?array $a_foot=null) | |
Protected Attributes | |
bool | $show_layout_row = false |
![]() | |
ILIAS Survey InternalGUIService | $gui |
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 ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilFormPropertyGUI\setRequired().
SurveyMatrixQuestionGUI::getLayoutRow | ( | ) |
Creates a row to define the matrix question layout with percentage values.
Definition at line 516 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 197 of file class.SurveyMatrixQuestionGUI.php.
References null.
Referenced by getPrintView().
SurveyMatrixQuestionGUI::getPrintView | ( | int | $question_title = 1 , |
bool | $show_questiontext = true , |
||
?int | $survey_id = null , |
||
?array | $working_data = null |
||
) |
Definition at line 252 of file class.SurveyMatrixQuestionGUI.php.
References 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 554 of file class.SurveyMatrixQuestionGUI.php.
References $data, getLayoutRow(), SurveyQuestionGUI\getQuestionTitle(), ILIAS\Repository\object(), SurveyQuestionGUI\outQuestionText(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by layout().
|
protected |
Definition at line 157 of file class.SurveyMatrixQuestionGUI.php.
References ilPropertyFormGUI\getInput(), and null.
|
protected |
Definition at line 27 of file class.SurveyMatrixQuestionGUI.php.
SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
Definition at line 469 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 486 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.