|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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, $compress_view=false) | |
| 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, $compress_view=false) | |
| 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 13 of file class.SurveyMatrixQuestionGUI.php.
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 32 of file class.SurveyMatrixQuestionGUI.php.
References $columns, $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 523 of file class.SurveyMatrixQuestionGUI.php.
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 181 of file class.SurveyMatrixQuestionGUI.php.
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 239 of file class.SurveyMatrixQuestionGUI.php.
References $i, 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, |
|||
$compress_view = false |
|||
| ) |
Creates the question output form for the learner.
@access public
Reimplemented from SurveyQuestionGUI.
Definition at line 563 of file class.SurveyMatrixQuestionGUI.php.
References $data, $i, 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 149 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, and ilPropertyFormGUI\getInput().
Here is the call graph for this function:
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 17 of file class.SurveyMatrixQuestionGUI.php.
| SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
@access public
Definition at line 472 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 491 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 27 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file class.SurveyMatrixQuestionGUI.php.