ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilRegistrationCode. More...
Static Public Member Functions | |
static | create ($role, $stamp, $local_roles, $limit, $limit_date, $reg_type, $ext_type) |
static | getCodesData ($order_field, $order_direction, $offset, $limit, $filter_code, $filter_role, $filter_generated, $filter_access_limitation) |
static | loadCodesByIds (array $ids) |
static | deleteCodes (array $ids) |
static | getGenerationDates () |
static | getCodesForExport ($filter_code, $filter_role, $filter_generated, $filter_access_limitation) |
static | isUnusedCode ($code) |
Check if code has been used already type $ilDB. More... | |
static | isValidRegistrationCode ($a_code) |
Check if given code is a valid registration code. More... | |
static | useCode ($code) |
static | getCodeRole ($code) |
static | getCodeData ($code) |
Data Fields | |
const | DB_TABLE = 'reg_registration_codes' |
const | CODE_LENGTH = 10 |
Static Protected Member Functions | |
static | generateRandomCode () |
static | filterToSQL ($filter_code, $filter_role, $filter_generated, $filter_access_limitation) |
Class ilRegistrationCode.
Definition at line 13 of file class.ilRegistrationCode.php.
|
static |
Definition at line 18 of file class.ilRegistrationCode.php.
References $code, $data, $ilDB, and array.
Referenced by ilRegistrationSettingsGUI\createCodes().
|
static |
Definition at line 122 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by ilRegistrationSettingsGUI\deleteCodes().
|
staticprotected |
Definition at line 146 of file class.ilRegistrationCode.php.
|
staticprotected |
|
static |
Definition at line 250 of file class.ilRegistrationCode.php.
References $code, $ilDB, and $row.
Referenced by ilAccountCode\applyAccessLimits(), ilAccountCode\applyRoleAssignments(), ilAccountCode\getCodeValidUntil(), and ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 238 of file class.ilRegistrationCode.php.
References $code, $ilDB, and $row.
Referenced by ilAccountCode\applyRoleAssignments(), and ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 72 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationCodesTableGUI\getItems().
|
static |
Definition at line 177 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationSettingsGUI\exportCodes().
|
static |
Definition at line 133 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationCodesTableGUI\initFilter().
|
static |
Check if code has been used already type $ilDB.
type | $code |
Definition at line 200 of file class.ilRegistrationCode.php.
Referenced by ilAccountCode\isUnusedCode().
|
static |
Check if given code is a valid registration code.
string | $a_code | code |
Definition at line 218 of file class.ilRegistrationCode.php.
References $ilDB, $query, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 109 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationSettingsGUI\deleteConfirmation().
|
static |
Definition at line 231 of file class.ilRegistrationCode.php.
References $code, $ilDB, array, and time.
Referenced by ilAccountRegistrationGUI\saveForm(), and ilAccountCode\useCode().
const ilRegistrationCode::CODE_LENGTH = 10 |
Definition at line 16 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\__initForm(), and ilRegistrationCodesTableGUI\initFilter().
const ilRegistrationCode::DB_TABLE = 'reg_registration_codes' |
Definition at line 15 of file class.ilRegistrationCode.php.