|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
| $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, 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 619 of file class.SurveyMatrixQuestionGUI.php.
References $counter.
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 210 of file class.SurveyMatrixQuestionGUI.php.
References $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 277 of file class.SurveyMatrixQuestionGUI.php.
References $layout, $options, $style, $text, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getLayoutRow(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), SurveyQuestionGUI\outQuestionText(), ilUtil\prepareFormOutput(), and sprintf.
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 661 of file class.SurveyMatrixQuestionGUI.php.
References $data, $layout, $style, getLayoutRow(), SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), ilUtil\prepareFormOutput(), and sprintf.
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 179 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 41 of file class.SurveyMatrixQuestionGUI.php.
| SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
@access public
Definition at line 567 of file class.SurveyMatrixQuestionGUI.php.
References 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 586 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, layout(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
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.