ILIAS
Release_5_0_x_branch Revision 61816
|
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 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 223 of file class.ilAccountCode.php.
References $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 $ilDB, and generateRandomCode().
Referenced by ilAccountCodesGUI\createCodes().
|
static |
Definition at line 103 of file class.ilAccountCode.php.
References $ilDB.
|
staticprotected |
Definition at line 127 of file class.ilAccountCode.php.
References $ilDB.
Referenced by getCodesData(), and getCodesForExport().
|
staticprotected |
Definition at line 44 of file class.ilAccountCode.php.
References CODE_LENGTH.
Referenced by create().
|
static |
Definition at line 58 of file class.ilAccountCode.php.
References $ilDB, $result, and filterToSQL().
Referenced by ilAccountCodesTableGUI\getItems().
|
static |
Definition at line 154 of file class.ilAccountCode.php.
References $ilDB, $result, and filterToSQL().
Referenced by ilAccountCodesGUI\exportCodes().
|
static |
Definition at line 198 of file class.ilAccountCode.php.
References $ilDB, $row, and ilRegistrationCode\getCodeData().
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 114 of file class.ilAccountCode.php.
References $ilDB, and $result.
Referenced by ilAccountCodesTableGUI\initFilter().
|
static |
Definition at line 171 of file class.ilAccountCode.php.
References $ilDB.
Referenced by ilStartUpGUI\processCode().
|
static |
Definition at line 90 of file class.ilAccountCode.php.
References $ilDB, and $result.
Referenced by ilAccountCodesGUI\deleteConfirmation().
|
static |
Definition at line 188 of file class.ilAccountCode.php.
References $ilDB.
Referenced by ilStartUpGUI\processCode().
const ilAccountCode::CODE_LENGTH = 10 |
Definition at line 16 of file class.ilAccountCode.php.
Referenced by generateRandomCode(), and ilAccountCodesTableGUI\initFilter().
const ilAccountCode::DB_TABLE = 'usr_account_codes' |
Definition at line 15 of file class.ilAccountCode.php.