ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilRegistrationSettingsGUI. More...
Public Member Functions | |
ilRegistrationSettingsGUI () | |
executeCommand () | |
setSubTabs ($activeTab= 'registration_settings') | |
set sub tabs | |
initForm () | |
initFormValues () | |
view () | |
save () | |
editRoles () | |
updateRoles () | |
editEmailAssignments () | |
editRoleAccessLimitations () | |
addAssignment () | |
deleteAssignment () | |
saveAssignment () | |
saveRoleAccessLimitations () | |
__parseRoleList ($roles, $url) | |
__prepareRoleList () | |
__prepareAutomaticRoleList () | |
__prepareAccessLimitationRoleList () | |
__initRoleAssignments () | |
__initRoleAccessLimitations () | |
__buildRoleSelection ($assignment_id) | |
__buildAccessLimitationSelection ($a_role_id) | |
__prepareDateSelect ($a_unix_time) | |
listCodes () | |
initAddCodesForm () | |
addCodes () | |
createCodes () | |
deleteCodes () | |
deleteConfirmation () | |
resetCodesFilter () | |
applyCodesFilter () | |
exportCodes () |
Data Fields | |
$ctrl | |
$tpl | |
$ref_id |
Class ilRegistrationSettingsGUI.
Definition at line 36 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::__buildAccessLimitationSelection | ( | $a_role_id | ) |
Definition at line 774 of file class.ilRegistrationSettingsGUI.php.
References $lng, and formSelect().
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__buildRoleSelection | ( | $assignment_id | ) |
Definition at line 735 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), and formSelect().
Referenced by editEmailAssignments().
ilRegistrationSettingsGUI::__initRoleAccessLimitations | ( | ) |
Definition at line 723 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAccessLimitationRoleList(), editRoleAccessLimitations(), and saveRoleAccessLimitations().
ilRegistrationSettingsGUI::__initRoleAssignments | ( | ) |
Definition at line 711 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAutomaticRoleList(), addAssignment(), deleteAssignment(), editEmailAssignments(), and saveAssignment().
ilRegistrationSettingsGUI::__parseRoleList | ( | $roles, | |
$url | |||
) |
Definition at line 577 of file class.ilRegistrationSettingsGUI.php.
References $tpl.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAccessLimitationRoleList | ( | ) |
Definition at line 635 of file class.ilRegistrationSettingsGUI.php.
References $lng, __initRoleAccessLimitations(), ilObjRole\_lookupRegisterAllowed(), and IL_CAL_UNIX.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAutomaticRoleList | ( | ) |
Definition at line 613 of file class.ilRegistrationSettingsGUI.php.
References __initRoleAssignments(), and ilObject\_lookupTitle().
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 793 of file class.ilRegistrationSettingsGUI.php.
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__prepareRoleList | ( | ) |
Definition at line 601 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed().
Referenced by initForm().
ilRegistrationSettingsGUI::addAssignment | ( | ) |
Definition at line 439 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, __initRoleAssignments(), editEmailAssignments(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::addCodes | ( | ) |
Definition at line 859 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, initAddCodesForm(), and setSubTabs().
ilRegistrationSettingsGUI::applyCodesFilter | ( | ) |
Definition at line 956 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::createCodes | ( | ) |
Definition at line 874 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, ilRegistrationCode\create(), initAddCodesForm(), ilUtil\sendSuccess(), and setSubTabs().
ilRegistrationSettingsGUI::deleteAssignment | ( | ) |
Definition at line 457 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, __initRoleAssignments(), editEmailAssignments(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteCodes | ( | ) |
Definition at line 909 of file class.ilRegistrationSettingsGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 918 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $data, $ilErr, ilRegistrationCode\loadCodesByIds(), and setSubTabs().
ilRegistrationSettingsGUI::editEmailAssignments | ( | ) |
Definition at line 346 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, __buildRoleSelection(), __initRoleAssignments(), ilUtil\formCheckbox(), ilUtil\getImagePath(), and ilUtil\switchColor().
Referenced by addAssignment(), deleteAssignment(), and saveAssignment().
ilRegistrationSettingsGUI::editRoleAccessLimitations | ( | ) |
Definition at line 389 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, $lng, __buildAccessLimitationSelection(), __initRoleAccessLimitations(), __prepareDateSelect(), ilObjRole\_lookupRegisterAllowed(), ilUtil\makeDateSelect(), and ilUtil\switchColor().
Referenced by saveRoleAccessLimitations().
ilRegistrationSettingsGUI::editRoles | ( | ) |
Definition at line 277 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, ilObjRole\_lookupAllowRegister(), ilObject\_lookupTitle(), ilUtil\formCheckbox(), ilUtil\getImagePath(), and ilUtil\switchColor().
Referenced by updateRoles().
ilRegistrationSettingsGUI::executeCommand | ( | ) |
ilRegistrationSettingsGUI::exportCodes | ( | ) |
Definition at line 966 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, ilUtil\deliverData(), ilRegistrationCode\getCodesForExport(), listCodes(), and ilUtil\sendFailure().
ilRegistrationSettingsGUI::ilRegistrationSettingsGUI | ( | ) |
Definition at line 42 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 824 of file class.ilRegistrationSettingsGUI.php.
References $lng, ilSelectInputGUI\setOptions(), and ilNumberInputGUI\setSize().
Referenced by addCodes(), and createCodes().
ilRegistrationSettingsGUI::initForm | ( | ) |
Definition at line 94 of file class.ilRegistrationSettingsGUI.php.
References __parseRoleList(), __prepareAccessLimitationRoleList(), __prepareAutomaticRoleList(), __prepareRoleList(), ilRadioGroupInputGUI\addOption(), ilSubEnabledFormPropertyGUI\addSubItem(), ilRadioOption\addSubItem(), IL_REG_ACTIVATION, IL_REG_APPROVE, IL_REG_CODES, IL_REG_DIRECT, IL_REG_DISABLED, IL_REG_ROLES_EMAIL, IL_REG_ROLES_FIXED, ilRegistrationSettings\REG_HASH_LIFETIME_MIN_VALUE, ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setSize(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by view().
ilRegistrationSettingsGUI::initFormValues | ( | ) |
Definition at line 172 of file class.ilRegistrationSettingsGUI.php.
References IL_REG_ACTIVATION, IL_REG_APPROVE, IL_REG_DIRECT, IL_REG_ROLES_EMAIL, and IL_REG_ROLES_FIXED.
Referenced by view().
ilRegistrationSettingsGUI::listCodes | ( | ) |
Definition at line 805 of file class.ilRegistrationSettingsGUI.php.
References $ilCtrl, $ilErr, and setSubTabs().
Referenced by applyCodesFilter(), exportCodes(), and resetCodesFilter().
ilRegistrationSettingsGUI::resetCodesFilter | ( | ) |
Definition at line 946 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::save | ( | ) |
Definition at line 224 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, ilRegistrationSettings\ERR_MISSING_RCP, ilRegistrationSettings\ERR_UNKNOWN_RCP, IL_REG_ACTIVATION, IL_REG_APPROVE, IL_REG_DIRECT, ilRegistrationSettings\REG_HASH_LIFETIME_MIN_VALUE, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and view().
ilRegistrationSettingsGUI::saveAssignment | ( | ) |
Definition at line 486 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $data, $ilErr, __initRoleAssignments(), editEmailAssignments(), IL_REG_MISSING_DOMAIN, IL_REG_MISSING_ROLE, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and view().
ilRegistrationSettingsGUI::saveRoleAccessLimitations | ( | ) |
Definition at line 532 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, __initRoleAccessLimitations(), ilObjRole\_lookupRegisterAllowed(), editRoleAccessLimitations(), IL_REG_ACCESS_LIMITATION_MISSING_MODE, IL_REG_ACCESS_LIMITATION_OUT_OF_DATE, ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
ilRegistrationSettingsGUI::setSubTabs | ( | $activeTab = 'registration_settings' | ) |
set sub tabs
string | $activeTab |
Definition at line 79 of file class.ilRegistrationSettingsGUI.php.
References $lng.
Referenced by addCodes(), createCodes(), deleteConfirmation(), listCodes(), and view().
ilRegistrationSettingsGUI::updateRoles | ( | ) |
Definition at line 315 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, editRoles(), ilObjectFactory\getInstanceByObjId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
ilRegistrationSettingsGUI::view | ( | ) |
Definition at line 202 of file class.ilRegistrationSettingsGUI.php.
References $_GET, $ilCtrl, $ilErr, initForm(), initFormValues(), setSubTabs(), and USER_FOLDER_ID.
Referenced by save(), saveAssignment(), saveRoleAccessLimitations(), and updateRoles().
ilRegistrationSettingsGUI::$ctrl |
Definition at line 38 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::$ref_id |
Definition at line 40 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::$tpl |
Definition at line 39 of file class.ilRegistrationSettingsGUI.php.
Referenced by __parseRoleList(), and ilRegistrationSettingsGUI().