ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilAccountCode. More...
Static Public Member Functions | |
static | create ($valid_until, $stamp) |
static | getCodesData ($order_field, $order_direction, $offset, $limit, $filter_code, $filter_valid_until, $filter_generated) |
static | loadCodesByIds (array $ids) |
static | deleteCodes (array $ids) |
static | getGenerationDates () |
static | getCodesForExport ($filter_code, $filter_valid_until, $filter_generated) |
static | isUnusedCode ($code) |
static | useCode ($code) |
static | getCodeValidUntil ($code) |
static | applyRoleAssignments (ilObjUser $user, $code) |
static | applyAccessLimits (ilObjUser $user, $code) |
Data Fields | |
const | DB_TABLE = 'usr_account_codes' |
const | CODE_LENGTH = 10 |
Static Protected Member Functions | |
static | generateRandomCode () |
static | filterToSQL ($filter_code, $filter_valid_until, $filter_generated) |
Class ilAccountCode.
Definition at line 13 of file class.ilAccountCode.php.
|
static |
Definition at line 256 of file class.ilAccountCode.php.
References $code, ilRegistrationCode\getCodeData(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, IL_CAL_UNIX, IL_CAL_YEAR, ilObjUser\setTimeLimitUnlimited(), ilObjUser\setTimeLimitUntil(), and time.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 223 of file class.ilAccountCode.php.
References $code, $GLOBALS, ilObjUser\_addDesktopItem(), ilObject\_getAllReferences(), ilObject\_lookupType(), array, ilRegistrationCode\getCodeData(), ilRegistrationCode\getCodeRole(), and ilObject\getId().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 18 of file class.ilAccountCode.php.
References $code, $data, $ilDB, and array.
Referenced by ilAccountCodesGUI\createCodes().
|
static |
Definition at line 103 of file class.ilAccountCode.php.
References $ilDB.
Referenced by ilAccountCodesGUI\deleteCodes().
|
staticprotected |
Definition at line 127 of file class.ilAccountCode.php.
|
staticprotected |
|
static |
Definition at line 58 of file class.ilAccountCode.php.
References $ilDB, $result, and array.
Referenced by ilAccountCodesTableGUI\getItems().
|
static |
Definition at line 154 of file class.ilAccountCode.php.
References $ilDB, $result, and array.
Referenced by ilAccountCodesGUI\exportCodes().
|
static |
Definition at line 198 of file class.ilAccountCode.php.
References $code, $ilDB, $row, and ilRegistrationCode\getCodeData().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 114 of file class.ilAccountCode.php.
References $ilDB, $result, and array.
Referenced by ilAccountCodesTableGUI\initFilter().
|
static |
Definition at line 171 of file class.ilAccountCode.php.
References $code, $ilDB, and ilRegistrationCode\isUnusedCode().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 90 of file class.ilAccountCode.php.
References $ilDB, $result, and array.
Referenced by ilAccountCodesGUI\deleteConfirmation().
|
static |
Definition at line 188 of file class.ilAccountCode.php.
References $code, $ilDB, array, time, and ilRegistrationCode\useCode().
Referenced by ilStartUpGUI\processCode().
const ilAccountCode::CODE_LENGTH = 10 |
Definition at line 16 of file class.ilAccountCode.php.
Referenced by ilAccountCodesTableGUI\initFilter().
const ilAccountCode::DB_TABLE = 'usr_account_codes' |
Definition at line 15 of file class.ilAccountCode.php.