ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 | 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' |
Class ilRegistrationCode.
Definition at line 26 of file class.ilRegistrationCode.php.
|
static |
Definition at line 211 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 178 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().
|
staticprotected |
Definition at line 74 of file class.ilRegistrationCode.php.
|
static |
Definition at line 167 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\createUser().
|
static |
Definition at line 154 of file class.ilRegistrationCode.php.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 129 of file class.ilRegistrationCode.php.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 87 of file class.ilRegistrationCode.php.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 98 of file class.ilRegistrationCode.php.
References $DIC, $ilDB, and $res.
Referenced by ilAccountRegistrationGUI\saveForm().
|
static |
Definition at line 142 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 ILIAS\Registration\RegistrationFilterComponent\getFilterFields(), and ilAccountRegistrationGUI\initForm().
|
protected |
Definition at line 28 of file class.ilRegistrationCode.php.