ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilSurveyConstraintsGUI. More...
Public Member Functions | |
__construct (ilObjSurveyGUI $a_parent_gui) | |
executeCommand () | |
constraintsObject () | |
Administration page for survey constraints. More... | |
constraintsAddObject () | |
Add a precondition for a survey question or question block. More... | |
constraintStep1Object () | |
Handles the first step of the precondition add action. More... | |
constraintStep2Object () | |
Handles the second step of the precondition add action. More... | |
constraintStep3Object () | |
Handles the third step of the precondition add action. More... | |
constraintForm ($step, $postvalues, &$survey_questions, $questions=false) | |
confirmDeleteConstraintsObject () | |
Delete constraint confirmation. More... | |
deleteConstraintsObject () | |
Delete constraints of a survey. More... | |
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+. More... | |
Protected Attributes | |
$ctrl | |
$lng | |
$tpl | |
$access | |
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 317 of file class.ilSurveyConstraintsGUI.php.
References $id, $title, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::constraintForm | ( | $step, | |
$postvalues, | |||
& | $survey_questions, | ||
$questions = false |
|||
) |
Definition at line 198 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, $form, $header, $options, $title, SurveyQuestion\_getQuestionTypeName(), SurveyQuestion\_includeClass(), ilRadioGroupInputGUI\addOption(), array, and ilSelectInputGUI\setOptions().
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
ilSurveyConstraintsGUI::constraintsAddObject | ( | ) |
Add a precondition for a survey question or question block.
Definition at line 104 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, $key, constraintStep3Object(), and ilUtil\sendFailure().
ilSurveyConstraintsGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Definition at line 66 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, $tbl, ilObjSurvey\_hasDatasets(), constraintStep1Object(), object, and ilUtil\sendInfo().
ilSurveyConstraintsGUI::constraintStep1Object | ( | ) |
Handles the first step of the precondition add action.
Definition at line 136 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, $i, $key, array, constraintForm(), and ilUtil\sendInfo().
Referenced by constraintsObject(), and createConstraintsObject().
ilSurveyConstraintsGUI::constraintStep2Object | ( | ) |
Handles the second step of the precondition add action.
Definition at line 163 of file class.ilSurveyConstraintsGUI.php.
References $_POST, array, and constraintForm().
ilSurveyConstraintsGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Definition at line 174 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, array, constraintForm(), and validateConstraintForEdit().
Referenced by constraintsAddObject().
ilSurveyConstraintsGUI::createConstraintsObject | ( | ) |
Definition at line 367 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_POST, $_SESSION, constraintStep1Object(), and ilUtil\sendInfo().
ilSurveyConstraintsGUI::deleteConstraintsObject | ( | ) |
Delete constraints of a survey.
Definition at line 356 of file class.ilSurveyConstraintsGUI.php.
References $id, ilUtil\sendSuccess(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::editPreconditionObject | ( | ) |
Definition at line 381 of file class.ilSurveyConstraintsGUI.php.
References $_GET, $_SESSION, array, 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 300 of file class.ilSurveyConstraintsGUI.php.
References $access, ilObjSurvey\_hasDatasets(), and object.
Referenced by confirmDeleteConstraintsObject(), constraintStep3Object(), deleteConstraintsObject(), and editPreconditionObject().
|
protected |
Definition at line 34 of file class.ilSurveyConstraintsGUI.php.
Referenced by validateConstraintForEdit().
|
protected |
Definition at line 19 of file class.ilSurveyConstraintsGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 24 of file class.ilSurveyConstraintsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilSurveyConstraintsGUI.php.
Referenced by __construct().