ILIAS
Release_4_4_x_branch Revision 61816
|
Matrix question GUI representation. More...
Public Member Functions | |
setQuestionTabs () | |
getPrintView ($question_title=1, $show_questiontext=1) | |
Creates a HTML representation of the question. | |
layout () | |
Creates a layout view of the question. | |
saveLayout () | |
Saves the layout for the matrix question. | |
getLayoutRow () | |
Creates a row to define the matrix question layout with percentage values. | |
getWorkingForm ($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null) | |
Creates the question output form for the learner. | |
getCumulatedResultsDetails ($survey_id, $counter, $finished_ids) | |
Creates the detailed output of the cumulated results for the question. | |
Public Member Functions inherited from SurveyQuestionGUI | |
__construct ($a_id=-1) | |
& | executeCommand () |
_getGUIClassNameForId ($a_q_id) | |
_getClassNameForQType ($q_type) | |
getQuestionType () | |
Returns the question type string. | |
setBackUrl ($a_url) | |
setQuestionTabsForClass ($guiclass) | |
preview () | |
Creates a preview of the question. | |
material ($checkonly=FALSE) | |
Material tab of the survey questions. | |
deleteMaterial () | |
addMaterial () | |
Add materials to a question. | |
removeMaterial () | |
cancelExplorer () | |
addPG () | |
addST () | |
addGIT () | |
linkChilds () | |
savePhrase ($a_reload=false) | |
Creates an output to save the current answers as a phrase. | |
confirmSavePhrase () | |
Save a new phrase to the database. |
Protected Member Functions | |
initObject () | |
addFieldsToEditForm (ilPropertyFormGUI $a_form) | |
importEditFormValues (ilPropertyFormGUI $a_form) | |
Protected Member Functions inherited from SurveyQuestionGUI | |
outQuestionText ($template) | |
initEditForm () | |
addCommandButtons ($a_form) | |
editQuestion (ilPropertyFormGUI $a_form=null) | |
saveSync () | |
saveReturn () | |
saveForm () | |
save ($a_return=false, $a_sync=false) | |
copySyncForm () | |
syncCopies () | |
originalSyncForm () | |
sync () | |
cancelSync () | |
redirectAfterSaving ($a_return=false) | |
Redirect to calling survey or to edit form. | |
cancel () | |
validateEditForm (ilPropertyFormGUI $a_form) | |
getMaterialOutput () | |
Creates the HTML output of the question material(s) | |
renderChart ($a_id, $a_variables) | |
initPhrasesForm () | |
addPhrase (ilPropertyFormGUI $a_form=null) | |
Creates an output for the addition of phrases. | |
addSelectedPhrase () |
Protected Attributes | |
$show_layout_row | |
Protected Attributes inherited from SurveyQuestionGUI | |
$tpl | |
$lng | |
$ctrl | |
$cumulated | |
$parent_url |
Additional Inherited Members | |
Static Public Member Functions inherited from SurveyQuestionGUI | |
static & | _getQuestionGUI ($questiontype, $question_id=-1) |
Creates a question gui representation. | |
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, ilPropertyFormGUI\addItem(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
SurveyMatrixQuestionGUI::getCumulatedResultsDetails | ( | $survey_id, | |
$counter, | |||
$finished_ids | |||
) |
Creates the detailed output of the cumulated results for the question.
integer | $survey_id | The database ID of the survey |
integer | $counter | The counter of the question position in the survey |
Reimplemented from SurveyQuestionGUI.
Definition at line 877 of file class.SurveyMatrixQuestionGUI.php.
References $columns, ilObjSurvey\_getNrOfParticipants(), and SurveyQuestionGUI\renderChart().
SurveyMatrixQuestionGUI::getLayoutRow | ( | ) |
Creates a row to define the matrix question layout with percentage values.
public
Definition at line 529 of file class.SurveyMatrixQuestionGUI.php.
Referenced by getPrintView(), and getWorkingForm().
SurveyMatrixQuestionGUI::getPrintView | ( | $question_title = 1 , |
|
$show_questiontext = 1 |
|||
) |
Creates a HTML representation of the question.
private
Reimplemented from SurveyQuestionGUI.
Definition at line 215 of file class.SurveyMatrixQuestionGUI.php.
References ilUtil\getHtmlPath(), ilUtil\getImagePath(), getLayoutRow(), 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
Reimplemented from SurveyQuestionGUI.
Definition at line 571 of file class.SurveyMatrixQuestionGUI.php.
References getLayoutRow(), SurveyQuestionGUI\getMaterialOutput(), SurveyQuestionGUI\outQuestionText(), and ilUtil\prepareFormOutput().
Referenced by layout().
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 179 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, and ilPropertyFormGUI\getInput().
|
protected |
Reimplemented from SurveyQuestionGUI.
Definition at line 41 of file class.SurveyMatrixQuestionGUI.php.
SurveyMatrixQuestionGUI::layout | ( | ) |
Creates a layout view of the question.
public
Definition at line 477 of file class.SurveyMatrixQuestionGUI.php.
References getWorkingForm().
Referenced by saveLayout().
SurveyMatrixQuestionGUI::saveLayout | ( | ) |
Saves the layout for the matrix question.
Definition at line 496 of file class.SurveyMatrixQuestionGUI.php.
References $_POST, layout(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
SurveyMatrixQuestionGUI::setQuestionTabs | ( | ) |
Reimplemented from SurveyQuestionGUI.
Definition at line 52 of file class.SurveyMatrixQuestionGUI.php.
References SurveyQuestionGUI\setQuestionTabsForClass().
|
protected |
Definition at line 39 of file class.SurveyMatrixQuestionGUI.php.