|
ILIAS
release_8 Revision v8.24
|
Class ilRegistrationSettingsGUI. More...
Collaboration diagram for ilRegistrationSettingsGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| setSubTabs (string $activeTab='registration_settings') | |
| initForm () | |
| initFormValues (ilPropertyFormGUI $formGUI) | |
| view () | |
| save () | |
| editRoles (?ilPropertyFormGUI $form=null) | |
| updateRoles () | |
| editEmailAssignments (ilPropertyFormGUI $form=null) | |
| initEmailAssignmentForm () | |
| editRoleAccessLimitations (ilPropertyFormGUI $form=null) | |
| initRoleAccessForm () | |
| saveAssignment () | |
| saveRoleAccessLimitations () | |
| listCodes () | |
| initAddCodesForm () | |
| getLocalRoleAutoComplete () | |
| addCodes () | |
| createCodes () | |
| deleteCodes () | |
| deleteConfirmation () | |
| resetCodesFilter () | |
| applyCodesFilter () | |
| exportCodes () | |
Data Fields | |
| const | CODE_TYPE_REGISTRATION = 1 |
| const | CODE_TYPE_EXTENSION = 2 |
| int | $ref_id |
Protected Member Functions | |
| initRefIdFromQuery () | |
| checkAccess (string $a_permission) | |
| checkAccessBool (string $a_permission) | |
| initRolesForm () | |
Protected Attributes | |
| ilCtrlInterface | $ctrl |
| ilGlobalTemplateInterface | $tpl |
| ilRbacSystem | $rbacsystem |
| ilRbacReview | $rbacreview |
| ilAccessHandler | $access |
| ilLanguage | $lng |
| ilErrorHandling | $error |
| ilTabsGUI | $tabs |
| ilToolbarGUI | $toolbar |
| ILIAS HTTP Services | $http |
| ILIAS Refinery Factory | $refinery |
| ilRegistrationSettings | $registration_settings |
| ilRegistrationRoleAssignments | $assignments_obj = null |
| ilRegistrationRoleAccessLimitations | $access_limitations_obj = null |
| ilPropertyFormGUI | $form_gui = null |
Private Member Functions | |
| parseRoleList (array $roles, string $url) | |
| prepareRoleList () | |
| prepareAutomaticRoleList () | |
| prepareAccessLimitationRoleList () | |
| initRoleAssignments () | |
| initRoleAccessLimitations () | |
Class ilRegistrationSettingsGUI.
Definition at line 28 of file class.ilRegistrationSettingsGUI.php.
| ilRegistrationSettingsGUI::__construct | ( | ) |
Definition at line 56 of file class.ilRegistrationSettingsGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), initRefIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilRegistrationSettingsGUI::addCodes | ( | ) |
Definition at line 896 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), initAddCodesForm(), and setSubTabs().
Here is the call graph for this function:| ilRegistrationSettingsGUI::applyCodesFilter | ( | ) |
Definition at line 1052 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
Here is the call graph for this function:
|
protected |
Definition at line 105 of file class.ilRegistrationSettingsGUI.php.
References checkAccessBool(), error(), and ILIAS\Repository\lng().
Referenced by addCodes(), createCodes(), deleteCodes(), deleteConfirmation(), editEmailAssignments(), editRoleAccessLimitations(), editRoles(), exportCodes(), listCodes(), save(), saveAssignment(), saveRoleAccessLimitations(), updateRoles(), and view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 112 of file class.ilRegistrationSettingsGUI.php.
References ILIAS\Repository\access().
Referenced by checkAccess(), initRolesForm(), listCodes(), and view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::createCodes | ( | ) |
Definition at line 908 of file class.ilRegistrationSettingsGUI.php.
References $valid, checkAccess(), ilRegistrationCode\create(), ILIAS\Repository\ctrl(), IL_CAL_DATE, initAddCodesForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and setSubTabs().
Here is the call graph for this function:| ilRegistrationSettingsGUI::deleteCodes | ( | ) |
Definition at line 990 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), ilRegistrationCode\deleteCodes(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 1008 of file class.ilRegistrationSettingsGUI.php.
References $data, $DIC, $ilErr, checkAccess(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilRegistrationCode\loadCodesByIds(), ILIAS\Repository\refinery(), and setSubTabs().
Here is the call graph for this function:| ilRegistrationSettingsGUI::editEmailAssignments | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 415 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), initEmailAssignmentForm(), initRoleAssignments(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by saveAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::editRoleAccessLimitations | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 472 of file class.ilRegistrationSettingsGUI.php.
References $DIC, checkAccess(), initRoleAccessForm(), initRoleAccessLimitations(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by saveRoleAccessLimitations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::editRoles | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 378 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), initRolesForm(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by updateRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::executeCommand | ( | ) |
Definition at line 91 of file class.ilRegistrationSettingsGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilRegistrationSettingsGUI::exportCodes | ( | ) |
Definition at line 1061 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), ilUtil\deliverData(), ilRegistrationCode\getCodesForExport(), listCodes(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilRegistrationSettingsGUI::getLocalRoleAutoComplete | ( | ) |
Definition at line 888 of file class.ilRegistrationSettingsGUI.php.
References exit, and ilRoleAutoComplete\getList().
Here is the call graph for this function:| ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 796 of file class.ilRegistrationSettingsGUI.php.
References $form_gui, ilObject\_lookupTitle(), ANONYMOUS_ROLE_ID, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and SYSTEM_ROLE_ID.
Referenced by addCodes(), and createCodes().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::initEmailAssignmentForm | ( | ) |
Definition at line 429 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), ANONYMOUS_ROLE_ID, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by editEmailAssignments(), and saveAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::initForm | ( | ) |
Definition at line 132 of file class.ilRegistrationSettingsGUI.php.
References $form_gui, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilRegistrationSettings\IL_REG_ACTIVATION, ilRegistrationSettings\IL_REG_APPROVE, ilRegistrationSettings\IL_REG_CODES, ilRegistrationSettings\IL_REG_DIRECT, ilRegistrationSettings\IL_REG_DISABLED, ilRegistrationSettings\IL_REG_ROLES_EMAIL, ilRegistrationSettings\IL_REG_ROLES_FIXED, ILIAS\Repository\lng(), parseRoleList(), prepareAccessLimitationRoleList(), prepareAutomaticRoleList(), prepareRoleList(), ilRegistrationSettings\REG_HASH_LIFETIME_MIN_VALUE, ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by save(), and view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::initFormValues | ( | ilPropertyFormGUI | $formGUI | ) |
@noinspection PhpUndefinedMethodInspection
Definition at line 235 of file class.ilRegistrationSettingsGUI.php.
References ilRegistrationSettings\IL_REG_ACTIVATION, ilRegistrationSettings\IL_REG_APPROVE, ilRegistrationSettings\IL_REG_DIRECT, ilRegistrationSettings\IL_REG_ROLE_UNDEFINED, ilRegistrationSettings\IL_REG_ROLES_EMAIL, ilRegistrationSettings\IL_REG_ROLES_FIXED, and ilPropertyFormGUI\setValuesByArray().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 80 of file class.ilRegistrationSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::initRoleAccessForm | ( | ) |
Definition at line 489 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed(), ILIAS\Repository\ctrl(), IL_CAL_DATE, and ILIAS\Repository\lng().
Referenced by editRoleAccessLimitations(), and saveRoleAccessLimitations().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 775 of file class.ilRegistrationSettingsGUI.php.
Referenced by editRoleAccessLimitations(), prepareAccessLimitationRoleList(), and saveRoleAccessLimitations().
Here is the caller graph for this function:
|
private |
Definition at line 768 of file class.ilRegistrationSettingsGUI.php.
Referenced by editEmailAssignments(), prepareAutomaticRoleList(), and saveAssignment().
Here is the caller graph for this function:
|
protected |
Definition at line 349 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupAllowRegister(), ilObject\_lookupTitle(), ANONYMOUS_ROLE_ID, checkAccessBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and SYSTEM_ROLE_ID.
Referenced by editRoles(), and updateRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::listCodes | ( | ) |
Definition at line 782 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), checkAccessBool(), ILIAS\Repository\lng(), setSubTabs(), and ILIAS\Repository\toolbar().
Referenced by applyCodesFilter(), exportCodes(), and resetCodesFilter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| string[] | $roles | |
| string | $url |
Definition at line 661 of file class.ilRegistrationSettingsGUI.php.
References $tpl, $url, ilGlobalTemplateInterface\get(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 713 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed(), ilDatePresentation\formatDate(), IL_CAL_UNIX, initRoleAccessLimitations(), and ILIAS\Repository\lng().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 696 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), initRoleAssignments(), and ILIAS\Repository\lng().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 683 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::resetCodesFilter | ( | ) |
Definition at line 1043 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
Here is the call graph for this function:| ilRegistrationSettingsGUI::save | ( | ) |
Definition at line 294 of file class.ilRegistrationSettingsGUI.php.
References $res, checkAccess(), ilRegistrationSettings\ERR_MISSING_RCP, ilRegistrationSettings\ERR_UNKNOWN_RCP, ilRegistrationSettings\IL_REG_ACTIVATION, ilRegistrationSettings\IL_REG_APPROVE, ilRegistrationSettings\IL_REG_DIRECT, initForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilRegistrationSettings\REG_HASH_LIFETIME_MIN_VALUE, and view().
Here is the call graph for this function:| ilRegistrationSettingsGUI::saveAssignment | ( | ) |
Definition at line 536 of file class.ilRegistrationSettingsGUI.php.
References ANONYMOUS_ROLE_ID, checkAccess(), editEmailAssignments(), initEmailAssignmentForm(), initRoleAssignments(), ILIAS\Repository\lng(), and view().
Here is the call graph for this function:| ilRegistrationSettingsGUI::saveRoleAccessLimitations | ( | ) |
Definition at line 610 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed(), checkAccess(), editRoleAccessLimitations(), ilRegistrationRoleAccessLimitations\IL_REG_ACCESS_LIMITATION_MISSING_MODE, ilRegistrationRoleAccessLimitations\IL_REG_ACCESS_LIMITATION_OUT_OF_DATE, initRoleAccessForm(), initRoleAccessLimitations(), ILIAS\Repository\lng(), and view().
Here is the call graph for this function:| ilRegistrationSettingsGUI::setSubTabs | ( | string | $activeTab = 'registration_settings' | ) |
Definition at line 117 of file class.ilRegistrationSettingsGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by addCodes(), createCodes(), deleteConfirmation(), listCodes(), and view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::updateRoles | ( | ) |
Definition at line 392 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), editRoles(), ilObjectFactory\getInstanceByObjId(), initRolesForm(), ILIAS\Repository\lng(), and view().
Here is the call graph for this function:| ilRegistrationSettingsGUI::view | ( | ) |
Definition at line 268 of file class.ilRegistrationSettingsGUI.php.
References $_GET, checkAccess(), checkAccessBool(), ILIAS\Repository\ctrl(), initForm(), initFormValues(), ILIAS\Repository\lng(), setSubTabs(), ILIAS\Repository\toolbar(), and USER_FOLDER_ID.
Referenced by save(), saveAssignment(), saveRoleAccessLimitations(), and updateRoles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 42 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 52 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 51 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 38 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 44 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 54 of file class.ilRegistrationSettingsGUI.php.
Referenced by initAddCodesForm(), and initForm().
|
protected |
Definition at line 47 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 43 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 41 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 40 of file class.ilRegistrationSettingsGUI.php.
| int ilRegistrationSettingsGUI::$ref_id |
Definition at line 36 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 50 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 45 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 46 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 39 of file class.ilRegistrationSettingsGUI.php.
Referenced by parseRoleList().
| const ilRegistrationSettingsGUI::CODE_TYPE_EXTENSION = 2 |
Definition at line 31 of file class.ilRegistrationSettingsGUI.php.
| const ilRegistrationSettingsGUI::CODE_TYPE_REGISTRATION = 1 |
Definition at line 30 of file class.ilRegistrationSettingsGUI.php.