ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Class ilRegistrationCode. More...
Static Public Member Functions | |
static | create (int $role, int $stamp, array $local_roles, ?string $limit, ?string $limit_date, bool $reg_type, bool $ext_type) |
static | getCodesData (string $order_field, string $order_direction, int $offset, int $limit, string $filter_code, int $filter_role, string $filter_generated, string $filter_access_limitation) |
static | loadCodesByIds (array $ids) |
static | deleteCodes (array $ids) |
static | getGenerationDates () |
static | getCodesForExport (string $filter_code, ?int $filter_role, string $filter_generated, string $filter_access_limitation) |
static | isUnusedCode (string $code) |
static | isValidRegistrationCode (string $a_code) |
static | getCodeValidUntil (string $code) |
static | useCode (string $code) |
static | getCodeRole (string $code) |
static | getCodeData (string $code) |
static | applyRoleAssignments (ilObjUser $user, string $code) |
static | applyAccessLimits (ilObjUser $user, string $code) |
Data Fields | |
const | CODE_LENGTH = 10 |
Static Protected Member Functions | |
static | generateRandomCode () |
Protected Attributes | |
const | DB_TABLE = 'reg_registration_codes' |
Static Private Member Functions | |
static | filterToSQL (string $filter_code, ?int $filter_role, string $filter_generated, string $filter_access_limitation) |
Class ilRegistrationCode.
Definition at line 26 of file class.ilRegistrationCode.php.
|
static |
Definition at line 355 of file class.ilRegistrationCode.php.
References IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, IL_CAL_UNIX, IL_CAL_YEAR, ilObjUser\setTimeLimitUnlimited(), and ilObjUser\setTimeLimitUntil().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 322 of file class.ilRegistrationCode.php.
References $GLOBALS, ilObject\_getAllReferences(), ilObject\_lookupType(), and ilObject\getId().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 31 of file class.ilRegistrationCode.php.
References $data, $DIC, $id, and $ilDB.
Referenced by ilRegistrationSettingsGUI\createCodes().
|
static |
Definition at line 149 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationSettingsGUI\deleteCodes().
|
staticprivate |
Definition at line 179 of file class.ilRegistrationCode.php.
|
staticprotected |
Definition at line 74 of file class.ilRegistrationCode.php.
|
static |
Definition at line 311 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\createUser().
|
static |
Definition at line 298 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 87 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationCodesTableGUI\getItems().
|
static |
Definition at line 209 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationSettingsGUI\exportCodes().
|
static |
Definition at line 273 of file class.ilRegistrationCode.php.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 165 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationCodesTableGUI\initFilter().
|
static |
Definition at line 231 of file class.ilRegistrationCode.php.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 242 of file class.ilRegistrationCode.php.
References $DIC, $ilDB, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 130 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationSettingsGUI\deleteConfirmation().
|
static |
Definition at line 286 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\createUser(), and ilStartUpGUI\processCode().
const ilRegistrationCode::CODE_LENGTH = 10 |
Definition at line 29 of file class.ilRegistrationCode.php.
Referenced by ilRegistrationCodesTableGUI\initFilter(), and ilAccountRegistrationGUI\initForm().
|
protected |
Definition at line 28 of file class.ilRegistrationCode.php.