ILIAS
Release_4_4_x_branch Revision 61816
|
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 () | |
getLocalRoleAutoComplete () | |
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 797 of file class.ilRegistrationSettingsGUI.php.
References $lng, $options, and ilUtil\formSelect().
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__buildRoleSelection | ( | $assignment_id | ) |
Definition at line 758 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\formSelect().
Referenced by editEmailAssignments().
ilRegistrationSettingsGUI::__initRoleAccessLimitations | ( | ) |
Definition at line 746 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAccessLimitationRoleList(), editRoleAccessLimitations(), and saveRoleAccessLimitations().
ilRegistrationSettingsGUI::__initRoleAssignments | ( | ) |
Definition at line 734 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAutomaticRoleList(), addAssignment(), deleteAssignment(), editEmailAssignments(), and saveAssignment().
ilRegistrationSettingsGUI::__parseRoleList | ( | $roles, | |
$url | |||
) |
Definition at line 600 of file class.ilRegistrationSettingsGUI.php.
References $tpl.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAccessLimitationRoleList | ( | ) |
Definition at line 658 of file class.ilRegistrationSettingsGUI.php.
References $lng, __initRoleAccessLimitations(), ilObjRole\_lookupRegisterAllowed(), and IL_CAL_UNIX.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAutomaticRoleList | ( | ) |
Definition at line 636 of file class.ilRegistrationSettingsGUI.php.
References __initRoleAssignments(), and ilObject\_lookupTitle().
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 816 of file class.ilRegistrationSettingsGUI.php.
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__prepareRoleList | ( | ) |
Definition at line 624 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed().
Referenced by initForm().
ilRegistrationSettingsGUI::addAssignment | ( | ) |
Definition at line 462 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, __initRoleAssignments(), editEmailAssignments(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::addCodes | ( | ) |
Definition at line 956 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, initAddCodesForm(), and setSubTabs().
ilRegistrationSettingsGUI::applyCodesFilter | ( | ) |
Definition at line 1109 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::createCodes | ( | ) |
Definition at line 976 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, $valid, ilRegistrationCode\create(), initAddCodesForm(), ilUtil\sendSuccess(), and setSubTabs().
ilRegistrationSettingsGUI::deleteAssignment | ( | ) |
Definition at line 480 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, __initRoleAssignments(), editEmailAssignments(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteCodes | ( | ) |
Definition at line 1062 of file class.ilRegistrationSettingsGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 1071 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, ilRegistrationCode\loadCodesByIds(), and setSubTabs().
ilRegistrationSettingsGUI::editEmailAssignments | ( | ) |
Definition at line 369 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 412 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 300 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 1119 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, ilUtil\deliverData(), ilRegistrationCode\getCodesForExport(), listCodes(), and ilUtil\sendFailure().
ilRegistrationSettingsGUI::getLocalRoleAutoComplete | ( | ) |
Definition at line 947 of file class.ilRegistrationSettingsGUI.php.
References $_REQUEST, exit, and ilRoleAutoComplete\getList().
ilRegistrationSettingsGUI::ilRegistrationSettingsGUI | ( | ) |
Definition at line 42 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 847 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $lng, $options, ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setMulti(), ilFormPropertyGUI\setRequired(), 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(), ilCaptchaUtil\checkFreetype(), 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 188 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 828 of file class.ilRegistrationSettingsGUI.php.
References $ilCtrl, $ilErr, and setSubTabs().
Referenced by applyCodesFilter(), exportCodes(), and resetCodesFilter().
ilRegistrationSettingsGUI::resetCodesFilter | ( | ) |
Definition at line 1099 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::save | ( | ) |
Definition at line 243 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 509 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, __initRoleAssignments(), editEmailAssignments(), IL_REG_MISSING_DOMAIN, IL_REG_MISSING_ROLE, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and view().
ilRegistrationSettingsGUI::saveRoleAccessLimitations | ( | ) |
Definition at line 555 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 338 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, editRoles(), ilObjectFactory\getInstanceByObjId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
ilRegistrationSettingsGUI::view | ( | ) |
Definition at line 221 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().