ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 253 of file class.ilAccountCode.php.
References $code, $end, ilRegistrationCode\getCodeData(), 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 224 of file class.ilAccountCode.php.
References $code, $GLOBALS, ilObjUser\_addDesktopItem(), ilObject\_getAllReferences(), ilObject\_lookupType(), ilRegistrationCode\getCodeData(), ilRegistrationCode\getCodeRole(), and ilObject\getId().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 18 of file class.ilAccountCode.php.
References $code, $data, $DIC, $id, and $ilDB.
Referenced by ilAccountCodesGUI\createCodes().
|
static |
Definition at line 103 of file class.ilAccountCode.php.
Referenced by ilAccountCodesGUI\deleteCodes().
|
staticprotected |
Definition at line 129 of file class.ilAccountCode.php.
|
staticprotected |
Definition at line 45 of file class.ilAccountCode.php.
|
static |
Definition at line 58 of file class.ilAccountCode.php.
References $DIC, $ilDB, and $result.
Referenced by ilAccountCodesTableGUI\getItems().
|
static |
Definition at line 152 of file class.ilAccountCode.php.
References $DIC, $ilDB, and $result.
Referenced by ilAccountCodesGUI\exportCodes().
|
static |
Definition at line 200 of file class.ilAccountCode.php.
References $code, $DIC, $ilDB, $row, and ilRegistrationCode\getCodeData().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 115 of file class.ilAccountCode.php.
References $DIC, $ilDB, and $result.
Referenced by ilAccountCodesTableGUI\initFilter().
|
static |
Definition at line 170 of file class.ilAccountCode.php.
References $code, $DIC, $ilDB, and ilRegistrationCode\isUnusedCode().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 89 of file class.ilAccountCode.php.
References $DIC, $ilDB, and $result.
Referenced by ilAccountCodesGUI\deleteConfirmation().
|
static |
Definition at line 188 of file class.ilAccountCode.php.
References $code, $DIC, $ilDB, 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.