ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (assQuestionGUI $questionGUI, ilCtrl $ctrl, ilAccessHandler $access, ilTemplate $tpl, ilTabsGUI $tabs, ilLanguage $lng) | |
Constructor. | |
executeCommand () | |
Execute Command. | |
showSyncCmd () |
Data Fields | |
const | CMD_SHOW = 'showFeedbackForm' |
command constants | |
const | CMD_SAVE = 'saveFeedbackForm' |
const | CMD_SHOW_SYNC = 'showSync' |
Protected Attributes | |
$questionGUI = null | |
$questionOBJ = null | |
$feedbackOBJ = null | |
$ctrl = null | |
$access = null | |
$tpl = null | |
$tabs = null | |
$lng = null |
Private Member Functions | |
showFeedbackFormCmd () | |
command for rendering the feedback editing form to the content area | |
saveFeedbackFormCmd () | |
command for processing the submitted feedback editing form. | |
buildForm () | |
builds the feedback editing form object | |
isFormSaveable () | |
returns the fact wether the feedback editing form has to be saveable or not. | |
isSyncAfterSaveRequired () | |
returns the fact wether the presentation of the question sync2pool form is required after saving the form or not |
Definition at line 15 of file class.ilAssQuestionFeedbackEditingGUI.php.
ilAssQuestionFeedbackEditingGUI::__construct | ( | assQuestionGUI | $questionGUI, |
ilCtrl | $ctrl, | ||
ilAccessHandler | $access, | ||
ilTemplate | $tpl, | ||
ilTabsGUI | $tabs, | ||
ilLanguage | $lng | ||
) |
Constructor.
public
assQuestionGUI | $questionGUI | |
ilCtrl | $ctrl | |
ilAccessHandler | $access | |
ilTemplate | $tpl | |
ilTabsGUI | $tabs | |
ilLanguage | $lng |
Definition at line 99 of file class.ilAssQuestionFeedbackEditingGUI.php.
References $access, $ctrl, $lng, $questionGUI, $tabs, and $tpl.
|
private |
builds the feedback editing form object
private
Definition at line 198 of file class.ilAssQuestionFeedbackEditingGUI.php.
References isFormSaveable().
Referenced by saveFeedbackFormCmd(), and showFeedbackFormCmd().
ilAssQuestionFeedbackEditingGUI::executeCommand | ( | ) |
Execute Command.
public
Definition at line 117 of file class.ilAssQuestionFeedbackEditingGUI.php.
|
private |
returns the fact wether the feedback editing form has to be saveable or not.
this depends on the additional content editing mode and the current question type, as well as on fact wether the question is writable for current user or not, or the fact if we are in self assessment mode or not
private
Definition at line 228 of file class.ilAssQuestionFeedbackEditingGUI.php.
References $_GET.
Referenced by buildForm().
|
private |
returns the fact wether the presentation of the question sync2pool form is required after saving the form or not
private
Definition at line 251 of file class.ilAssQuestionFeedbackEditingGUI.php.
References $_GET, $ilUser, and assQuestion\_isWriteable().
Referenced by saveFeedbackFormCmd().
|
private |
command for processing the submitted feedback editing form.
first it validates the submitted values.
private
Definition at line 165 of file class.ilAssQuestionFeedbackEditingGUI.php.
References buildForm(), isSyncAfterSaveRequired(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
command for rendering the feedback editing form to the content area
private
Definition at line 146 of file class.ilAssQuestionFeedbackEditingGUI.php.
References buildForm().
ilAssQuestionFeedbackEditingGUI::showSyncCmd | ( | ) |
Definition at line 278 of file class.ilAssQuestionFeedbackEditingGUI.php.
|
protected |
Definition at line 62 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
|
protected |
Definition at line 46 of file class.ilAssQuestionFeedbackEditingGUI.php.
|
protected |
Definition at line 86 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilAssQuestionFeedbackEditingGUI.php.
|
protected |
Definition at line 78 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
|
protected |
Definition at line 70 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by __construct().
const ilAssQuestionFeedbackEditingGUI::CMD_SAVE = 'saveFeedbackForm' |
Definition at line 21 of file class.ilAssQuestionFeedbackEditingGUI.php.
const ilAssQuestionFeedbackEditingGUI::CMD_SHOW = 'showFeedbackForm' |
command constants
Definition at line 20 of file class.ilAssQuestionFeedbackEditingGUI.php.
Referenced by ilAssQuestionFeedbackPageObjectCommandForwarder\__construct(), assQuestionGUI\addTab_QuestionFeedback(), ilAssQuestionFeedbackPageObjectCommandForwarder\forward(), ilPageObjectGUI\setQEditTabs(), and ilPCQuestionGUI\setTabs().
const ilAssQuestionFeedbackEditingGUI::CMD_SHOW_SYNC = 'showSync' |
Definition at line 22 of file class.ilAssQuestionFeedbackEditingGUI.php.