|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilRegistrationCode. More...
Collaboration diagram for ilRegistrationCode: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 @global 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 $data, $ilDB, and generateRandomCode().
Referenced by ilRegistrationSettingsGUI\createCodes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 117 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by ilRegistrationSettingsGUI\deleteCodes().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 141 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by getCodesData(), and getCodesForExport().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 58 of file class.ilRegistrationCode.php.
References CODE_LENGTH.
Referenced by create().
Here is the caller graph for this function:
|
static |
Definition at line 245 of file class.ilRegistrationCode.php.
Referenced by ilAccountCode\applyAccessLimits(), ilAccountCode\applyRoleAssignments(), and ilAccountCode\getCodeValidUntil().
Here is the caller graph for this function:
|
static |
Definition at line 233 of file class.ilRegistrationCode.php.
Referenced by ilAccountCode\applyRoleAssignments(), and ilAccountRegistrationGUI\saveForm().
Here is the caller graph for this function:
|
static |
Definition at line 72 of file class.ilRegistrationCode.php.
References $ilDB, $result, and filterToSQL().
Referenced by ilRegistrationCodesTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 172 of file class.ilRegistrationCode.php.
References $ilDB, $result, and filterToSQL().
Referenced by ilRegistrationSettingsGUI\exportCodes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 128 of file class.ilRegistrationCode.php.
References $ilDB, and $result.
Referenced by ilRegistrationCodesTableGUI\initFilter().
Here is the caller graph for this function:
|
static |
Check if code has been used already @global type $ilDB.
| type | $code |
Definition at line 195 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by ilAccountCode\isUnusedCode().
Here is the caller graph for this function:
|
static |
Check if given code is a valid registration code.
| string | $a_code | code |
Definition at line 213 of file class.ilRegistrationCode.php.
References $ilDB, $query, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
Here is the caller graph for this function:
|
static |
Definition at line 104 of file class.ilRegistrationCode.php.
References $ilDB, and $result.
Referenced by ilRegistrationSettingsGUI\deleteConfirmation().
Here is the caller graph for this function:
|
static |
Definition at line 226 of file class.ilRegistrationCode.php.
References $ilDB.
Referenced by ilAccountCode\useCode().
Here is the caller graph for this function:| const ilRegistrationCode::CODE_LENGTH = 10 |
Definition at line 16 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\__initForm(), generateRandomCode(), and ilRegistrationCodesTableGUI\initFilter().
| const ilRegistrationCode::DB_TABLE = 'reg_registration_codes' |
Definition at line 15 of file class.ilRegistrationCode.php.