ILIAS
Release_5_0_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 | |
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::__buildAccessLimitationSelection | ( | $a_role_id | ) |
Definition at line 801 of file class.ilRegistrationSettingsGUI.php.
References $lng, $options, and ilUtil\formSelect().
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__buildRoleSelection | ( | $assignment_id | ) |
Definition at line 762 of file class.ilRegistrationSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\formSelect().
Referenced by editEmailAssignments().
ilRegistrationSettingsGUI::__initRoleAccessLimitations | ( | ) |
Definition at line 750 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAccessLimitationRoleList(), editRoleAccessLimitations(), and saveRoleAccessLimitations().
ilRegistrationSettingsGUI::__initRoleAssignments | ( | ) |
Definition at line 738 of file class.ilRegistrationSettingsGUI.php.
Referenced by __prepareAutomaticRoleList(), addAssignment(), deleteAssignment(), editEmailAssignments(), and saveAssignment().
ilRegistrationSettingsGUI::__parseRoleList | ( | $roles, | |
$url | |||
) |
Definition at line 604 of file class.ilRegistrationSettingsGUI.php.
References $tpl.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAccessLimitationRoleList | ( | ) |
Definition at line 662 of file class.ilRegistrationSettingsGUI.php.
References $lng, __initRoleAccessLimitations(), ilObjRole\_lookupRegisterAllowed(), and IL_CAL_UNIX.
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareAutomaticRoleList | ( | ) |
Definition at line 640 of file class.ilRegistrationSettingsGUI.php.
References __initRoleAssignments(), and ilObject\_lookupTitle().
Referenced by initForm().
ilRegistrationSettingsGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 820 of file class.ilRegistrationSettingsGUI.php.
Referenced by editRoleAccessLimitations().
ilRegistrationSettingsGUI::__prepareRoleList | ( | ) |
Definition at line 628 of file class.ilRegistrationSettingsGUI.php.
References ilObjRole\_lookupRegisterAllowed().
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 979 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, initAddCodesForm(), and setSubTabs().
ilRegistrationSettingsGUI::applyCodesFilter | ( | ) |
Definition at line 1142 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::createCodes | ( | ) |
Definition at line 999 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, $valid, ilRegistrationCode\create(), initAddCodesForm(), ilUtil\sendSuccess(), and setSubTabs().
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 1095 of file class.ilRegistrationSettingsGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilRegistrationSettingsGUI::deleteConfirmation | ( | ) |
Definition at line 1104 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $ilErr, ilRegistrationCode\loadCodesByIds(), and setSubTabs().
ilRegistrationSettingsGUI::editEmailAssignments | ( | ) |
Definition at line 373 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 416 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 304 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 1152 of file class.ilRegistrationSettingsGUI.php.
References $ilErr, ilUtil\deliverData(), ilRegistrationCode\getCodesForExport(), listCodes(), and ilUtil\sendFailure().
ilRegistrationSettingsGUI::getLocalRoleAutoComplete | ( | ) |
Definition at line 970 of file class.ilRegistrationSettingsGUI.php.
References $_REQUEST, exit, and ilRoleAutoComplete\getList().
ilRegistrationSettingsGUI::ilRegistrationSettingsGUI | ( | ) |
Definition at line 45 of file class.ilRegistrationSettingsGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilRegistrationSettingsGUI::initAddCodesForm | ( | ) |
Definition at line 851 of file class.ilRegistrationSettingsGUI.php.
References $_POST, $lng, $options, CODE_TYPE_EXTENSION, CODE_TYPE_REGISTRATION, 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 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 832 of file class.ilRegistrationSettingsGUI.php.
References $ilCtrl, $ilErr, and setSubTabs().
Referenced by applyCodesFilter(), exportCodes(), and resetCodesFilter().
ilRegistrationSettingsGUI::resetCodesFilter | ( | ) |
Definition at line 1132 of file class.ilRegistrationSettingsGUI.php.
References listCodes().
ilRegistrationSettingsGUI::save | ( | ) |
Definition at line 247 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 513 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 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, 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 __parseRoleList(), and ilRegistrationSettingsGUI().
const ilRegistrationSettingsGUI::CODE_TYPE_EXTENSION = 2 |
Definition at line 39 of file class.ilRegistrationSettingsGUI.php.
Referenced by initAddCodesForm().
const ilRegistrationSettingsGUI::CODE_TYPE_REGISTRATION = 1 |
Definition at line 38 of file class.ilRegistrationSettingsGUI.php.
Referenced by initAddCodesForm().