ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilSurveyConstraintsGUI. More...
Public Member Functions | |
__construct (ilObjSurveyGUI $a_parent_gui) | |
executeCommand () | |
constraintsObject () | |
Administration page for survey constraints. | |
constraintsAddObject () | |
Add a precondition for a survey question or question block. | |
constraintStep1Object () | |
Handles the first step of the precondition add action. | |
constraintStep2Object () | |
Handles the second step of the precondition add action. | |
constraintStep3Object () | |
Handles the third step of the precondition add action. | |
constraintForm ($step, $postvalues, &$survey_questions, $questions=FALSE) | |
confirmDeleteConstraintsObject () | |
Delete constraint confirmation. | |
deleteConstraintsObject () | |
Delete constraints of a survey. | |
createConstraintsObject () | |
editPreconditionObject () |
Protected Member Functions | |
validateConstraintForEdit ($a_id) | |
Validate if given constraint id is part of current survey and there are sufficient permissions to edit+. |
Class ilSurveyConstraintsGUI.
Definition at line 14 of file class.ilSurveyConstraintsGUI.php.
ilSurveyConstraintsGUI::__construct | ( | ilObjSurveyGUI | $a_parent_gui | ) |
ilSurveyConstraintsGUI::confirmDeleteConstraintsObject | ( | ) |
Delete constraint confirmation.
Definition at line 325 of file class.ilSurveyConstraintsGUI.php.
References $_REQUEST, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::constraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = FALSE |
|||
) |
Definition at line 195 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, $options, SurveyQuestion\_getQuestionTypeName(), SurveyQuestion\_includeClass(), ilRadioGroupInputGUI\addOption(), and ilSelectInputGUI\setOptions().
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
ilSurveyConstraintsGUI::constraintsAddObject | ( | ) |
Add a precondition for a survey question or question block.
Definition at line 84 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep3Object(), and ilUtil\sendFailure().
ilSurveyConstraintsGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Definition at line 41 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilSurveyConstraintsGUI::constraintStep1Object | ( | ) |
Handles the first step of the precondition add action.
Definition at line 124 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, constraintForm(), and ilUtil\sendInfo().
Referenced by constraintsObject(), and createConstraintsObject().
ilSurveyConstraintsGUI::constraintStep2Object | ( | ) |
Handles the second step of the precondition add action.
Definition at line 156 of file class.ilSurveyConstraintsGUI.php.
References $_POST, and constraintForm().
ilSurveyConstraintsGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Definition at line 167 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, constraintForm(), and validateConstraintForEdit().
Referenced by constraintsAddObject().
ilSurveyConstraintsGUI::createConstraintsObject | ( | ) |
Definition at line 377 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilSurveyConstraintsGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Definition at line 365 of file class.ilSurveyConstraintsGUI.php.
References $_REQUEST, ilUtil\sendSuccess(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::editPreconditionObject | ( | ) |
Definition at line 394 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, and validateConstraintForEdit().
ilSurveyConstraintsGUI::executeCommand | ( | ) |
|
protected |
Validate if given constraint id is part of current survey and there are sufficient permissions to edit+.
int | $a_id |
Definition at line 306 of file class.ilSurveyConstraintsGUI.php.
Referenced by confirmDeleteConstraintsObject(), constraintStep3Object(), deleteConstraintsObject(), and editPreconditionObject().