ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilRegistrationSettingsGUI. More...
Public Member Functions | |
__construct () | |
executeCommand () | |
setSubTabs ($activeTab='registration_settings') | |
set sub tabs More... | |
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 | |
const | CODE_TYPE_REGISTRATION = 1 |
const | CODE_TYPE_EXTENSION = 2 |
$ctrl | |
$tpl | |
$ref_id | |
Class ilRegistrationSettingsGUI.
Definition at line 36 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::__construct | ( | ) |
ilRegistrationSettingsGUI::__buildAccessLimitationSelection | ( | $a_role_id | ) |
Definition at line 800 of file class.ilRegistrationSettingsGUI.php.
References $lng, $options, array, and ilUtil\formSelect().
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__buildRoleSelection | ( | $assignment_id | ) |
Definition at line 761 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\formSelect().
Referenced by editEmailAssignments().
ilRegistrationSettingsGUI::__initRoleAccessLimitations | ( | ) |
Definition at line 749 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAccessLimitationRoleList(), editRoleAccessLimitations(), and saveRoleAccessLimitations().
ilRegistrationSettingsGUI::__initRoleAssignments | ( | ) |
Definition at line 737 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAutomaticRoleList(), addAssignment(), deleteAssignment(), editEmailAssignments(), and saveAssignment().
ilRegistrationSettingsGUI::__parseRoleList | ( | $roles, | |
$url | |||
) |
Definition at line 603 of file class.ilRegistrationSettingsGUI.php.
References $url.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAccessLimitationRoleList | ( | ) |
Definition at line 661 of file class.ilRegistrationSettingsGUI.php.
References $lng, $years, __initRoleAccessLimitations(), ilObjRole\_lookupRegisterAllowed(), array, and IL_CAL_UNIX.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAutomaticRoleList | ( | ) |
Definition at line 639 of file class.ilRegistrationSettingsGUI.php.
References __initRoleAssignments(), ilObject\_lookupTitle(), and array.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 819 of file class.ilRegistrationSettingsGUI.php.
References array, date, and time.
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__prepareRoleList | ( | ) |
Definition at line 627 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed(), and array.
Referenced by initForm().
ilRegistrationSettingsGUI::addAssignment | ( | ) |
Definition at line 466 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, __initRoleAssignments(), editEmailAssignments(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::addCodes | ( | ) |
Definition at line 957 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, initAddCodesForm(), and setSubTabs().
ilRegistrationSettingsGUI::applyCodesFilter | ( | ) |
Definition at line 1129 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::createCodes | ( | ) |
Definition at line 977 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, $valid, array, ilRegistrationCode\create(), date, IL_CAL_DATE, initAddCodesForm(), ilUtil\sendSuccess(), setSubTabs(), and time.
ilRegistrationSettingsGUI::deleteAssignment | ( | ) |
Definition at line 484 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, __initRoleAssignments(), editEmailAssignments(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteCodes | ( | ) |
Definition at line 1082 of file class.ilRegistrationSettingsGUI.php.
References $_POST, ilRegistrationCode\deleteCodes(), and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 1091 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $code, $data, $ilErr, ilRegistrationCode\loadCodesByIds(), and setSubTabs().
ilRegistrationSettingsGUI::editEmailAssignments | ( | ) |
Definition at line 373 of file class.ilRegistrationSettingsGUI.php.
References $counter, $ilErr, __buildRoleSelection(), __initRoleAssignments(), ilUtil\formCheckbox(), ilUtil\getImagePath(), and ilUtil\switchColor().
Referenced by addAssignment(), deleteAssignment(), and saveAssignment().
ilRegistrationSettingsGUI::editRoleAccessLimitations | ( | ) |
Definition at line 416 of file class.ilRegistrationSettingsGUI.php.
References $counter, $ilErr, $lng, __buildAccessLimitationSelection(), __initRoleAccessLimitations(), __prepareDateSelect(), ilObjRole\_lookupRegisterAllowed(), ilUtil\makeDateSelect(), and ilUtil\switchColor().
Referenced by saveRoleAccessLimitations().
ilRegistrationSettingsGUI::editRoles | ( | ) |
Definition at line 304 of file class.ilRegistrationSettingsGUI.php.
References $counter, $ilErr, ilObjRole\_lookupAllowRegister(), ilObject\_lookupTitle(), ilUtil\formCheckbox(), ilUtil\getImagePath(), and ilUtil\switchColor().
Referenced by updateRoles().
ilRegistrationSettingsGUI::executeCommand | ( | ) |
Definition at line 62 of file class.ilRegistrationSettingsGUI.php.
References $cmd.
ilRegistrationSettingsGUI::exportCodes | ( | ) |
Definition at line 1139 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, date, ilUtil\deliverData(), ilRegistrationCode\getCodesForExport(), listCodes(), and ilUtil\sendFailure().
ilRegistrationSettingsGUI::getLocalRoleAutoComplete | ( | ) |
Definition at line 948 of file class.ilRegistrationSettingsGUI.php.
References exit, and ilRoleAutoComplete\getList().
ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 850 of file class.ilRegistrationSettingsGUI.php.
References $lng, $options, array, ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setMulti(), ilFormPropertyGUI\setRequired(), and ilNumberInputGUI\setSize().
Referenced by addCodes(), and createCodes().
ilRegistrationSettingsGUI::initForm | ( | ) |
Definition at line 98 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 192 of file class.ilRegistrationSettingsGUI.php.
References array, 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 831 of file class.ilRegistrationSettingsGUI.php.
References $ilCtrl, $ilErr, and setSubTabs().
Referenced by applyCodesFilter(), exportCodes(), and resetCodesFilter().
ilRegistrationSettingsGUI::resetCodesFilter | ( | ) |
Definition at line 1119 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::save | ( | ) |
Definition at line 247 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, array, 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 513 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $data, $ilErr, __initRoleAssignments(), array, editEmailAssignments(), IL_REG_MISSING_DOMAIN, IL_REG_MISSING_ROLE, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and view().
ilRegistrationSettingsGUI::saveRoleAccessLimitations | ( | ) |
Definition at line 559 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 83 of file class.ilRegistrationSettingsGUI.php.
References $lng.
Referenced by addCodes(), createCodes(), deleteConfirmation(), listCodes(), and view().
ilRegistrationSettingsGUI::updateRoles | ( | ) |
Definition at line 342 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, editRoles(), ilObjectFactory\getInstanceByObjId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
ilRegistrationSettingsGUI::view | ( | ) |
Definition at line 225 of file class.ilRegistrationSettingsGUI.php.
References $_GET, $ilCtrl, $ilErr, array, initForm(), initFormValues(), setSubTabs(), and USER_FOLDER_ID.
Referenced by save(), saveAssignment(), saveRoleAccessLimitations(), and updateRoles().
ilRegistrationSettingsGUI::$ctrl |
Definition at line 41 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::$ref_id |
Definition at line 43 of file class.ilRegistrationSettingsGUI.php.
ilRegistrationSettingsGUI::$tpl |
Definition at line 42 of file class.ilRegistrationSettingsGUI.php.
Referenced by __construct().
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.