|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Matrix question GUI representation. More...
Inheritance diagram for SurveyMatrixQuestionGUI:
Collaboration diagram for SurveyMatrixQuestionGUI: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... | |
| 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 ($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... | |
Protected Attributes | |
| $show_layout_row | |
Protected Attributes inherited from SurveyQuestionGUI | |
| $rbacsystem | |
| $user | |
| $access | |
| $tree | |
| $toolbar | |
| $tabs | |
| $tpl | |
| $lng | |
| $ctrl | |
| $cumulated | |
| $parent_url | |
| $log | |
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 | |
Matrix question GUI representation.
The SurveyMatrixQuestionGUI class encapsulates the GUI representation for matrix question types.
Definition at line 37 of file class.SurveyMatrixQuestionGUI.php.
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 57 of file class.SurveyMatrixQuestionGUI.php.
References $columns, $header, $rows, and ilPropertyFormGUI\addItem().
Here is the call graph for this function:| SurveyMatrixQuestionGUI::getLayoutRow | ( | ) |
Creates a row to define the matrix question layout with percentage values.
@access public
Definition at line 550 of file class.SurveyMatrixQuestionGUI.php.
References $template.
Referenced by getPrintView(), and getWorkingForm().
Here is the caller graph for this function:| SurveyMatrixQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null, |
$a_only_user_anwers = false |
|||
| ) |
Definition at line 208 of file class.SurveyMatrixQuestionGUI.php.
References $cols, $i, PHPMailer\PHPMailer\$options, and $text.
Referenced by getPrintView().
Here is the caller graph for this function:| SurveyMatrixQuestionGUI::getPrintView | ( | $question_title = 1, |
|
$show_questiontext = 1, |
|||
$survey_id = null, |
|||
| array | $a_working_data = null |
||
| ) |
Creates a HTML representation of the question.
@access private
Definition at line 266 of file class.SurveyMatrixQuestionGUI.php.
References $i, PHPMailer\PHPMailer\$options, $style, $template, $text, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getLayoutRow(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| SurveyMatrixQuestionGUI::getWorkingForm | ( | $working_data = "", |
|
$question_title = 1, |
|||
$show_questiontext = 1, |
|||
$error_message = "", |
|||
$survey_id = null |
|||
| ) |
Creates the question output form for the learner.
@access public
Reimplemented from SurveyQuestionGUI.
Definition at line 590 of file class.SurveyMatrixQuestionGUI.php.
References $data, $i, $style, $template, getLayoutRow(), SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Referenced by layout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 176 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, $key, and ilPropertyFormGUI\getInput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 41 of file class.SurveyMatrixQuestionGUI.php.
| SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
@access public
Definition at line 499 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\$tabs, and getWorkingForm().
Referenced by saveLayout().
Here is the call graph for this function:
Here is the caller graph for this function:| SurveyMatrixQuestionGUI::saveLayout | ( | ) |
Saves the layout for the matrix question.
Definition at line 518 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, layout(), and ilUtil\sendFailure().
Here is the call graph for this function:| SurveyMatrixQuestionGUI::setQuestionTabs | ( | ) |
Reimplemented from SurveyQuestionGUI.
Definition at line 52 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.SurveyMatrixQuestionGUI.php.