ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Matrix question GUI representation. More...
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 |
Definition at line 57 of file class.SurveyMatrixQuestionGUI.php.
References $columns, $header, ilPropertyFormGUI\addItem(), array, object, ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
SurveyMatrixQuestionGUI::getLayoutRow | ( | ) |
Creates a row to define the matrix question layout with percentage values.
public
Definition at line 619 of file class.SurveyMatrixQuestionGUI.php.
References $counter, and object.
Referenced by getPrintView(), and getWorkingForm().
SurveyMatrixQuestionGUI::getParsedAnswers | ( | array | $a_working_data = null , |
$a_only_user_anwers = false |
|||
) |
Definition at line 210 of file class.SurveyMatrixQuestionGUI.php.
References $options, $text, and array.
Referenced by getPrintView().
SurveyMatrixQuestionGUI::getPrintView | ( | $question_title = 1 , |
|
$show_questiontext = 1 , |
|||
$survey_id = null , |
|||
array | $a_working_data = null |
||
) |
Creates a HTML representation of the question.
private
Definition at line 277 of file class.SurveyMatrixQuestionGUI.php.
References $layout, $options, $style, $text, array, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getLayoutRow(), getParsedAnswers(), SurveyQuestionGUI\getPrintViewQuestionTitle(), object, SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
SurveyMatrixQuestionGUI::getWorkingForm | ( | $working_data = "" , |
|
$question_title = 1 , |
|||
$show_questiontext = 1 , |
|||
$error_message = "" , |
|||
$survey_id = null |
|||
) |
Creates the question output form for the learner.
public
Definition at line 661 of file class.SurveyMatrixQuestionGUI.php.
References $data, $layout, $style, array, getLayoutRow(), SurveyQuestionGUI\getMaterialOutput(), object, SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Referenced by layout().
|
protected |
Definition at line 179 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, and ilPropertyFormGUI\getInput().
|
protected |
Definition at line 41 of file class.SurveyMatrixQuestionGUI.php.
SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
public
Definition at line 567 of file class.SurveyMatrixQuestionGUI.php.
References getWorkingForm().
Referenced by saveLayout().
SurveyMatrixQuestionGUI::saveLayout | ( | ) |
Saves the layout for the matrix question.
Definition at line 586 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, array, layout(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
SurveyMatrixQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 52 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
|
protected |
Definition at line 39 of file class.SurveyMatrixQuestionGUI.php.