ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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, $id, $ilDB, and array.
Referenced by ilRegistrationSettingsGUI\createCodes().
|
static |
Definition at line 113 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by ilRegistrationSettingsGUI\deleteCodes().
|
staticprotected |
Definition at line 135 of file class.ilRegistrationCode.php.
|
staticprotected |
|
static |
Definition at line 229 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 218 of file class.ilRegistrationCode.php.
References $code, $ilDB, and $row.
Referenced by ilAccountCode\applyRoleAssignments(), and ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 68 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationCodesTableGUI\getItems().
|
static |
Definition at line 159 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationSettingsGUI\exportCodes().
|
static |
Definition at line 123 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 181 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 198 of file class.ilRegistrationCode.php.
References $ilDB, $query, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 101 of file class.ilRegistrationCode.php.
References $ilDB, $result, and array.
Referenced by ilRegistrationSettingsGUI\deleteConfirmation().
|
static |
Definition at line 211 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.