ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
executeCommand () | |
constraintsObject () | |
Administration page for survey constraints. More... | |
constraintsAddObject () | |
Add a precondition for a survey question or question block. More... | |
constraintStep1Object ($start=null) | |
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 (int $step, array $postvalues, array $survey_questions, ?array $questions=null) | |
confirmDeleteConstraintsObject () | |
Delete constraint confirmation. More... | |
deleteConstraintsObject () | |
createConstraintsObject () | |
editPreconditionObject () | |
Protected Member Functions | |
getConstraintParsFromPost () | |
validateConstraintForEdit (int $a_id) | |
Validate if given constraint id is part of current survey and there are sufficient permissions to edit. More... | |
Protected Attributes | |
ILIAS Survey Editing EditingGUIRequest | $request |
ILIAS Survey Editing EditManager | $edit_manager |
ilObjSurvey | $object |
ilObjSurveyGUI | $parent_gui |
ilCtrl | $ctrl |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilAccessHandler | $access |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 23 of file class.ilSurveyConstraintsGUI.php.
ilSurveyConstraintsGUI::confirmDeleteConstraintsObject | ( | ) |
Delete constraint confirmation.
Definition at line 371 of file class.ilSurveyConstraintsGUI.php.
References $id, $relation, SurveyQuestion\_getQuestionType(), SurveyQuestion\_includeClass(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::constraintForm | ( | int | $step, |
array | $postvalues, | ||
array | $survey_questions, | ||
?array | $questions = null |
||
) |
Definition at line 245 of file class.ilSurveyConstraintsGUI.php.
References $relation, SurveyQuestion\_getQuestionTypeName(), SurveyQuestion\_includeClass(), ilRadioGroupInputGUI\addOption(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
ilSurveyConstraintsGUI::constraintsAddObject | ( | ) |
Add a precondition for a survey question or question block.
Definition at line 107 of file class.ilSurveyConstraintsGUI.php.
References $structure, constraintStep3Object(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyConstraintsGUI::constraintsObject | ( | ) |
Administration page for survey constraints.
Definition at line 77 of file class.ilSurveyConstraintsGUI.php.
References ilObjSurvey\_hasDatasets(), constraintStep1Object(), and ILIAS\Repository\object().
ilSurveyConstraintsGUI::constraintStep1Object | ( | $start = null | ) |
Handles the first step of the precondition add action.
Definition at line 154 of file class.ilSurveyConstraintsGUI.php.
References $structure, constraintForm(), ILIAS\Repository\ctrl(), getConstraintParsFromPost(), and ILIAS\Repository\lng().
Referenced by constraintsObject(), and createConstraintsObject().
ilSurveyConstraintsGUI::constraintStep2Object | ( | ) |
Handles the second step of the precondition add action.
Definition at line 186 of file class.ilSurveyConstraintsGUI.php.
References $q, constraintForm(), and getConstraintParsFromPost().
ilSurveyConstraintsGUI::constraintStep3Object | ( | ) |
Handles the third step of the precondition add action.
Definition at line 202 of file class.ilSurveyConstraintsGUI.php.
References $q, constraintForm(), ILIAS\Repository\ctrl(), getConstraintParsFromPost(), and validateConstraintForEdit().
Referenced by constraintsAddObject().
ilSurveyConstraintsGUI::createConstraintsObject | ( | ) |
Definition at line 416 of file class.ilSurveyConstraintsGUI.php.
References constraintStep1Object(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
ilSurveyConstraintsGUI::deleteConstraintsObject | ( | ) |
Definition at line 405 of file class.ilSurveyConstraintsGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::editPreconditionObject | ( | ) |
ilCtrlException |
Definition at line 432 of file class.ilSurveyConstraintsGUI.php.
References ILIAS\Repository\ctrl(), and validateConstraintForEdit().
ilSurveyConstraintsGUI::executeCommand | ( | ) |
Definition at line 64 of file class.ilSurveyConstraintsGUI.php.
References $ctrl, and ilCtrl\getCmd().
|
protected |
Definition at line 234 of file class.ilSurveyConstraintsGUI.php.
Referenced by constraintStep1Object(), constraintStep2Object(), and constraintStep3Object().
|
protected |
Validate if given constraint id is part of current survey and there are sufficient permissions to edit.
Definition at line 353 of file class.ilSurveyConstraintsGUI.php.
References $access, ilObjSurvey\_hasDatasets(), and ILIAS\Repository\object().
Referenced by confirmDeleteConstraintsObject(), constraintStep3Object(), deleteConstraintsObject(), and editPreconditionObject().
|
protected |
Definition at line 32 of file class.ilSurveyConstraintsGUI.php.
Referenced by validateConstraintForEdit().
|
protected |
Definition at line 29 of file class.ilSurveyConstraintsGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 26 of file class.ilSurveyConstraintsGUI.php.
|
protected |
Definition at line 30 of file class.ilSurveyConstraintsGUI.php.
|
protected |
Definition at line 27 of file class.ilSurveyConstraintsGUI.php.
|
protected |
Definition at line 28 of file class.ilSurveyConstraintsGUI.php.
|
protected |
Definition at line 25 of file class.ilSurveyConstraintsGUI.php.
|
protected |
Definition at line 31 of file class.ilSurveyConstraintsGUI.php.