ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (?int $objId=null, ?int $usrId=null, ?int $privacyIdent=null) | |
getObjId () | |
setObjId (int $objId) | |
getPrivacyIdent () | |
setPrivacyIdent (int $privacyIdent) | |
getUsrId () | |
setUsrId (int $usrId) | |
getUsrIdent () | |
setUsrIdent (string $usrIdent) | |
getRegistration () | |
setRegistration (string $registration) | |
hasProxySuccess () | |
setProxySuccess (bool $proxySuccess) | |
setSatisfied (bool $satisfied) | |
getSatisfied () | |
getFetchUntil () | |
setFetchUntil (ilCmiXapiDateTime $fetchUntil) | |
assignFromDbRow ($dbRow) | |
save () | |
Static Public Member Functions | |
static | getIliasUuid () |
static | getInstancesByObjectIdAndUsrId (int $objId, int $usrId) |
static | getInstanceByObjectIdAndUsrIdent (int $objId, string $usrIdent) |
static | saveProxySuccess (int $objId, int $usrId, int $privacyIdent) |
static | getIdent (int $userIdentMode, ilObjUser $user) |
static | getIdentAsId (int $userIdentMode, ilObjUser $user) |
static | getName (int $userNameMode, ilObjUser $user) |
static | getUsersForObject (int $objId, bool $asUsrId=false) |
static | getUserIdents (int $objId, int $usrId) |
static | exists (int $objId, int $usrId, int $privacyIdent=999) |
static | getCmixObjectsHavingUsersMissingProxySuccess () |
static | updateFetchedUntilForObjects (ilCmiXapiDateTime $fetchedUntil, array $objectIds) |
static | lookupObjectIds (int $usrId, string $type='') |
static | getUserObjectUniqueId (int $length=32) |
static | getUUID (int $length=32) |
static | generateCMI5Registration (int $objId, int $usrId) |
static | generateRegistration (ilObjCmiXapi $obj, ilObjUser $user) |
static | getCMI5RegistrationFromAuthToken (ilCmiXapiAuthToken $authToken) |
static | getRegistrationFromAuthToken (ilCmiXapiAuthToken $authToken) |
static | getUsrIdForObjectAndUsrIdent (int $objId, string $userIdent) |
static | deleteUsersForObject (int $objId, ?array $users=[]) |
Data Fields | |
const | DB_TABLE_NAME = 'cmix_users' |
Protected Member Functions | |
load () | |
Static Protected Member Functions | |
static | buildPseudoEmail (string $mbox, string $domain) |
Protected Attributes | |
int | $objId |
int | $usrId |
int | $privacyIdent |
bool | $proxySuccess |
bool | $satisfied |
ilCmiXapiDateTime | $fetchUntil |
string | $usrIdent |
string | $registration |
Static Private Member Functions | |
static | userObjectUniqueIdExists (string $id) |
Private Attributes | |
ilDBInterface | $database |
Definition at line 30 of file class.ilCmiXapiUser.php.
Definition at line 53 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $usrId, IL_CAL_UNIX, load(), and null.
ilCmiXapiUser::assignFromDbRow | ( | $dbRow | ) |
Definition at line 179 of file class.ilCmiXapiUser.php.
References IL_CAL_DATETIME, setFetchUntil(), setObjId(), setPrivacyIdent(), setProxySuccess(), setRegistration(), setSatisfied(), setUsrId(), and setUsrIdent().
Referenced by load().
|
staticprotected |
Definition at line 354 of file class.ilCmiXapiUser.php.
|
static |
Definition at line 623 of file class.ilCmiXapiUser.php.
References $DIC.
Referenced by ilCmiXapiStatementsDeleteRequest\checkDeleteUsersForObject().
|
static |
Definition at line 434 of file class.ilCmiXapiUser.php.
Referenced by ilLPStatusCmiXapiAbstract\determineStatus(), and ilObjCmiXapiGUI\initInfoScreenToolbar().
|
static |
Definition at line 586 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiLaunchGUI\initCmixUser().
|
static |
Definition at line 591 of file class.ilCmiXapiUser.php.
References ilObject\getId(), and ilObject\getRefId().
Referenced by ilCmiXapiLaunchGUI\CMI5preLaunch(), and ilCmiXapiLaunchGUI\getLaunchParameters().
|
static |
Definition at line 596 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getObjId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
|
static |
Definition at line 463 of file class.ilCmiXapiUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Referenced by ilXapiResultsCronjob\getObjectsToBeReported().
ilCmiXapiUser::getFetchUntil | ( | ) |
Definition at line 156 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by ilObjCmiXapiGUI\fetchXapiStatements(), save(), and ilObjCmiXapiGUI\sendLastFetchInfo().
|
static |
Definition at line 269 of file class.ilCmiXapiUser.php.
References $_SERVER, ilObjUser\_isAnonymous(), ilObject\getCreateDate(), ilObjUser\getEmail(), ilObjUser\getExternalAccount(), ilObject\getId(), ilObjUser\getLogin(), ilUtil\is_email(), ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_LOGIN, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_RANDOM, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_SHA256, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_SHA256URL, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_USER_ID, and ilObjCmiXapi\PRIVACY_IDENT_REAL_EMAIL.
Referenced by ilObjLTIConsumer\buildContentSelectionParameters(), ilLTIConsumerContentGUI\getStartButtonTxt11(), ilCmiXapiLaunchGUI\initCmixUser(), ilLTIConsumerContentGUI\initCmixUser(), and ilLTIConsumerContentGUI\validateLTI13InitalLogin().
|
static |
Definition at line 315 of file class.ilCmiXapiUser.php.
References $_SERVER, ilObject\getCreateDate(), ilObjUser\getExternalAccount(), ilObject\getId(), ilObjUser\getLogin(), ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_LOGIN, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_RANDOM, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_SHA256, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_SHA256URL, ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_USER_ID, and ilObjCmiXapi\PRIVACY_IDENT_REAL_EMAIL.
Referenced by ilObjLTIConsumer\buildContentSelectionParameters(), ilObjLTIConsumer\buildLaunchParameters(), ilObjLTIConsumer\buildLaunchParametersLTI13(), and ilObjLTIConsumerGUI\contentSelectionRequest().
|
static |
Definition at line 121 of file class.ilCmiXapiUser.php.
References ILIAS\ResourceStorage\Identification\getUUID(), and null.
Referenced by ilCmiXapiSettingsGUI\buildForm(), ilObjLTIConsumer\buildLaunchParameters(), ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), ilCmiXapiContentUploadImporter\generateActivityId(), ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
|
static |
Definition at line 235 of file class.ilCmiXapiUser.php.
Referenced by ilXapiStatementEvaluation\getCmixUser().
|
static |
Definition at line 218 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiStatementsDeleteRequest\buildDeleteOwn().
|
static |
Definition at line 359 of file class.ilCmiXapiUser.php.
References ilObjUser\getFirstname(), ilObjUser\getFullname(), ilObjUser\getLastname(), ilObjUser\getUTitle(), ilObjCmiXapi\PRIVACY_NAME_FIRSTNAME, ilObjCmiXapi\PRIVACY_NAME_FULLNAME, ilObjCmiXapi\PRIVACY_NAME_LASTNAME, and ilObjCmiXapi\PRIVACY_NAME_NONE.
Referenced by ilObjCmiXapi\getStatementActor().
ilCmiXapiUser::getObjId | ( | ) |
Definition at line 71 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by load(), and save().
ilCmiXapiUser::getPrivacyIdent | ( | ) |
Definition at line 81 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by load(), and save().
ilCmiXapiUser::getRegistration | ( | ) |
Definition at line 111 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by save().
|
static |
Definition at line 601 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getRefId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
ilCmiXapiUser::getSatisfied | ( | ) |
Definition at line 151 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by save().
|
static |
Definition at line 417 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiStatementsReportLinkBuilder\buildFilterStage().
|
static |
Definition at line 531 of file class.ilCmiXapiUser.php.
References $id, and ILIAS\ResourceStorage\Identification\getUUID().
|
static |
Definition at line 387 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiHighscoreReport\__construct(), ilCmiXapiStatementsReport\__construct(), ilCmiXapiStatementsDeleteRequest\buildDeleteAll(), ilCmiXapiStatementsDeleteRequest\buildDeleteFiltered(), ilCmiXapiStatementsDeleteRequest\buildDeleteStates(), ilCmiXapiStatementsReportLinkBuilder\buildFilterStage(), ilCmiXapiHighscoreReportLinkBuilder\getUsersStack(), ilCmiXapiStatementsGUI\initTableData(), and ilLPStatusCmiXapiAbstract\loadStatusInfo().
ilCmiXapiUser::getUsrId | ( | ) |
Definition at line 91 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by ilCmiXapiStatementsTableGUI\getUsername(), load(), and save().
ilCmiXapiUser::getUsrIdent | ( | ) |
Definition at line 101 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by ilObjLTIConsumer\buildLaunchParameters(), ilObjLTIConsumer\buildLaunchParametersLTI13(), ilLTIConsumerContentGUI\getStartButtonTxt11(), ilCmiXapiLaunchGUI\initCmixUser(), ilLTIConsumerContentGUI\initCmixUser(), save(), and ilLTIConsumerContentGUI\validateLTI13InitalLogin().
|
static |
Definition at line 606 of file class.ilCmiXapiUser.php.
References $DIC, $res, $usrId, ILIAS\Repository\int(), and null.
Referenced by ilLTIConsumerGradeServiceScores\checkScore().
|
static |
Definition at line 562 of file class.ilCmiXapiUser.php.
References Vendor\Package\$e, and ILIAS\Repository\int().
ilCmiXapiUser::hasProxySuccess | ( | ) |
Definition at line 133 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by ilObjCmiXapiGUI\isFetchXapiStatementsRequired(), and save().
|
protected |
Definition at line 166 of file class.ilCmiXapiUser.php.
References $res, assignFromDbRow(), getObjId(), getPrivacyIdent(), and getUsrId().
Referenced by __construct().
|
static |
Definition at line 500 of file class.ilCmiXapiUser.php.
References $DIC, $res, and ILIAS\Repository\int().
ilCmiXapiUser::save | ( | ) |
Definition at line 191 of file class.ilCmiXapiUser.php.
References $DIC, ilObjUser\_isAnonymous(), getFetchUntil(), getObjId(), getPrivacyIdent(), getRegistration(), getSatisfied(), getUsrId(), getUsrIdent(), hasProxySuccess(), and IL_CAL_DATETIME.
Referenced by ilLTIConsumerContentGUI\getStartButtonTxt11(), and ilLTIConsumerContentGUI\validateLTI13InitalLogin().
|
static |
Definition at line 253 of file class.ilCmiXapiUser.php.
References $DIC.
Referenced by XapiProxy\XapiProxyPolyFill\getLrsType().
ilCmiXapiUser::setFetchUntil | ( | ilCmiXapiDateTime | $fetchUntil | ) |
Definition at line 161 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by assignFromDbRow().
ilCmiXapiUser::setObjId | ( | int | $objId | ) |
Definition at line 76 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by assignFromDbRow().
ilCmiXapiUser::setPrivacyIdent | ( | int | $privacyIdent | ) |
Definition at line 86 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by assignFromDbRow().
ilCmiXapiUser::setProxySuccess | ( | bool | $proxySuccess | ) |
Definition at line 138 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by assignFromDbRow().
ilCmiXapiUser::setRegistration | ( | string | $registration | ) |
Definition at line 116 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by assignFromDbRow().
ilCmiXapiUser::setSatisfied | ( | bool | $satisfied | ) |
Definition at line 143 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by assignFromDbRow().
ilCmiXapiUser::setUsrId | ( | int | $usrId | ) |
Definition at line 96 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by assignFromDbRow().
ilCmiXapiUser::setUsrIdent | ( | string | $usrIdent | ) |
Definition at line 106 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by assignFromDbRow(), ilLTIConsumerContentGUI\getStartButtonTxt11(), and ilLTIConsumerContentGUI\validateLTI13InitalLogin().
|
static |
Definition at line 487 of file class.ilCmiXapiUser.php.
References $DIC, ilDateTime\get(), and IL_CAL_DATETIME.
Referenced by ilXapiResultsCronjob\run().
|
staticprivate |
Definition at line 577 of file class.ilCmiXapiUser.php.
References $DIC.
|
private |
Definition at line 50 of file class.ilCmiXapiUser.php.
|
protected |
Definition at line 44 of file class.ilCmiXapiUser.php.
Referenced by getFetchUntil(), and setFetchUntil().
|
protected |
Definition at line 34 of file class.ilCmiXapiUser.php.
Referenced by __construct(), getObjId(), and setObjId().
|
protected |
Definition at line 38 of file class.ilCmiXapiUser.php.
Referenced by __construct(), getPrivacyIdent(), and setPrivacyIdent().
|
protected |
Definition at line 40 of file class.ilCmiXapiUser.php.
Referenced by hasProxySuccess(), and setProxySuccess().
|
protected |
Definition at line 48 of file class.ilCmiXapiUser.php.
Referenced by getRegistration(), and setRegistration().
|
protected |
Definition at line 42 of file class.ilCmiXapiUser.php.
Referenced by getSatisfied(), and setSatisfied().
|
protected |
Definition at line 36 of file class.ilCmiXapiUser.php.
Referenced by __construct(), getUsrId(), getUsrIdForObjectAndUsrIdent(), and setUsrId().
|
protected |
Definition at line 46 of file class.ilCmiXapiUser.php.
Referenced by getUsrIdent(), and setUsrIdent().
const ilCmiXapiUser::DB_TABLE_NAME = 'cmix_users' |
Definition at line 32 of file class.ilCmiXapiUser.php.