|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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 () | |
| getRegistrationCodeTable () | |
| getRegistrationFilter () | |
| initAddCodesForm () | |
| getLocalRoleAutoComplete () | |
| addCodes () | |
| createCodes () | |
| deleteCodes () | |
| deleteConfirmation () | |
| 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 |
| readonly ILIAS HTTP Services | $http |
| readonly ILIAS Refinery Factory | $refinery |
| readonly Factory | $ui_factory |
| readonly UIRenderer | $ui_renderer |
| readonly ilUIService | $ui_service |
| readonly ilObjUser | $user |
| readonly RegistrationCodeRepository | $code_repository |
| readonly RegistrationFilterComponent | $registration_code_filter |
| readonly RegistrationCodesTable | $registration_codes_table |
| 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 36 of file class.ilRegistrationSettingsGUI.php.
| ilRegistrationSettingsGUI::__construct | ( | ) |
Definition at line 70 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(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilRegistrationSettingsGUI::addCodes | ( | ) |
Definition at line 969 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), initAddCodesForm(), and setSubTabs().
Here is the call graph for this function:
|
protected |
Definition at line 132 of file class.ilRegistrationSettingsGUI.php.
References checkAccessBool(), error(), and ILIAS\Repository\lng().
Referenced by addCodes(), createCodes(), deleteCodes(), deleteConfirmation(), editEmailAssignments(), editRoleAccessLimitations(), editRoles(), 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 139 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 981 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 1063 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 1081 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), getRegistrationFilter(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and setSubTabs().
Here is the call graph for this function:| ilRegistrationSettingsGUI::editEmailAssignments | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 451 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 508 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 414 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 110 of file class.ilRegistrationSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRegistrationSettingsGUI::exportCodes | ( | ) |
Definition at line 1117 of file class.ilRegistrationSettingsGUI.php.
References ilUtil\deliverData(), getRegistrationFilter(), ILIAS\FileDelivery\http(), listCodes(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRegistrationSettingsGUI::getLocalRoleAutoComplete | ( | ) |
Definition at line 961 of file class.ilRegistrationSettingsGUI.php.
References $q, exit, and ilRoleAutoComplete\getList().
Here is the call graph for this function:| ilRegistrationSettingsGUI::getRegistrationCodeTable | ( | ) |
Definition at line 834 of file class.ilRegistrationSettingsGUI.php.
References $registration_codes_table, ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilRegistrationSettingsGUI::getRegistrationFilter | ( | ) |
Definition at line 853 of file class.ilRegistrationSettingsGUI.php.
References $registration_code_filter, and ILIAS\Repository\ctrl().
Referenced by deleteConfirmation(), and exportCodes().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 869 of file class.ilRegistrationSettingsGUI.php.
References $form_gui, ILIAS\UI\Implementation\Component\Input\Field\$options, 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 465 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 159 of file class.ilRegistrationSettingsGUI.php.
References $form_gui, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getItems(), 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 270 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 99 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 525 of file class.ilRegistrationSettingsGUI.php.
References $duration, 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 811 of file class.ilRegistrationSettingsGUI.php.
Referenced by editRoleAccessLimitations(), prepareAccessLimitationRoleList(), and saveRoleAccessLimitations().
Here is the caller graph for this function:
|
private |
Definition at line 804 of file class.ilRegistrationSettingsGUI.php.
Referenced by editEmailAssignments(), prepareAutomaticRoleList(), and saveAssignment().
Here is the caller graph for this function:
|
protected |
Definition at line 385 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 818 of file class.ilRegistrationSettingsGUI.php.
References checkAccess(), checkAccessBool(), ILIAS\Repository\lng(), setSubTabs(), and ILIAS\Repository\toolbar().
Referenced by exportCodes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| string[] | $roles | |
| string | $url |
Definition at line 697 of file class.ilRegistrationSettingsGUI.php.
References $tpl, $url, ILIAS\UICore\GlobalTemplate\get(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 749 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 732 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 719 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::save | ( | ) |
Definition at line 331 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 572 of file class.ilRegistrationSettingsGUI.php.
References $counter, 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 646 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 144 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 428 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 303 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 50 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 66 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 65 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 61 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 46 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 52 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 68 of file class.ilRegistrationSettingsGUI.php.
Referenced by initAddCodesForm(), and initForm().
|
protected |
Definition at line 55 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 51 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 49 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationSettingsGUI.php.
| int ilRegistrationSettingsGUI::$ref_id |
Definition at line 44 of file class.ilRegistrationSettingsGUI.php.
Definition at line 56 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 62 of file class.ilRegistrationSettingsGUI.php.
Referenced by getRegistrationFilter().
|
protected |
Definition at line 63 of file class.ilRegistrationSettingsGUI.php.
Referenced by getRegistrationCodeTable().
|
protected |
Definition at line 64 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 53 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 54 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 47 of file class.ilRegistrationSettingsGUI.php.
Referenced by parseRoleList().
|
protected |
Definition at line 57 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 58 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 59 of file class.ilRegistrationSettingsGUI.php.
|
protected |
Definition at line 60 of file class.ilRegistrationSettingsGUI.php.
| const ilRegistrationSettingsGUI::CODE_TYPE_EXTENSION = 2 |
Definition at line 39 of file class.ilRegistrationSettingsGUI.php.
| const ilRegistrationSettingsGUI::CODE_TYPE_REGISTRATION = 1 |
Definition at line 38 of file class.ilRegistrationSettingsGUI.php.