|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ilCmiXapiUser: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 33 of file class.ilCmiXapiUser.php.
| ilCmiXapiUser::__construct | ( | ?int | $objId = null, |
| ?int | $usrId = null, |
||
| ?int | $privacyIdent = null |
||
| ) |
Definition at line 56 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $usrId, ILIAS\Repository\database(), IL_CAL_UNIX, and load().
Here is the call graph for this function:| ilCmiXapiUser::assignFromDbRow | ( | $dbRow | ) |
Definition at line 181 of file class.ilCmiXapiUser.php.
References IL_CAL_DATETIME, setFetchUntil(), setObjId(), setPrivacyIdent(), setProxySuccess(), setRegistration(), setSatisfied(), setUsrId(), and setUsrIdent().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 356 of file class.ilCmiXapiUser.php.
Referenced by getIdent().
Here is the caller graph for this function:
|
static |
Definition at line 625 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiStatementsDeleteRequest\checkDeleteUsersForObject().
Here is the caller graph for this function:
|
static |
Definition at line 436 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $res, and $usrId.
Referenced by ilLPStatusCmiXapiAbstract\determineStatus(), and ilObjCmiXapiGUI\initInfoScreenToolbar().
Here is the caller graph for this function:
|
static |
Definition at line 588 of file class.ilCmiXapiUser.php.
References $objId, and $usrId.
Referenced by ilCmiXapiLaunchGUI\initCmixUser().
Here is the caller graph for this function:
|
static |
Definition at line 593 of file class.ilCmiXapiUser.php.
References ilObject\getId(), and ilObject\getRefId().
Referenced by ilCmiXapiLaunchGUI\CMI5preLaunch(), and ilCmiXapiLaunchGUI\getLaunchParameters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 598 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getObjId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 465 of file class.ilCmiXapiUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Referenced by ilXapiResultsCronjob\getObjectsToBeReported().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiUser::getFetchUntil | ( | ) |
Definition at line 158 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by save(), and ilObjCmiXapiGUI\sendLastFetchInfo().
Here is the caller graph for this function:
|
static |
Definition at line 271 of file class.ilCmiXapiUser.php.
References ilObjUser\_isAnonymous(), buildPseudoEmail(), 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 ilLTIToolLaunchGUI\getCmixUser(), ilLTIAdvantagePlatformMembershipService\getMember(), ilCmiXapiLaunchGUI\initCmixUser(), and ilLTIAdvantagePlatformDeepLinking\sendRequestPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 317 of file class.ilCmiXapiUser.php.
References ilObject\getCreateDate(), ilObjUser\getExternalAccount(), ilObject\getId(), ilObjUser\getLogin(), getUserObjectUniqueId(), 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 ilLTIAdvantagePlatformLaunchParameterBuilder\getUserId(), and ilLTIAdvantagePlatformDeepLinking\sendRequestPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 124 of file class.ilCmiXapiUser.php.
References ILIAS\components\ResourceStorage\$uuid, and getUUID().
Referenced by ilCmiXapiSettingsGUI\buildForm(), ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), ilCmiXapiContentUploadImporter\generateActivityId(), ilLTIToolForm\getForm(), and ilLTIAdvantagePlatformLaunchParameterBuilder\getUserId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 237 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, and $usrIdent.
Referenced by ilXapiStatementEvaluation\getCmixUser().
Here is the caller graph for this function:
|
static |
Definition at line 220 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, and $usrId.
Referenced by ilCmiXapiStatementsDeleteRequest\buildDeleteOwn().
Here is the caller graph for this function:
|
static |
Definition at line 361 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiUser::getObjId | ( | ) |
Definition at line 74 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by load(), and save().
Here is the caller graph for this function:| ilCmiXapiUser::getPrivacyIdent | ( | ) |
Definition at line 84 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by ilLTIToolLaunchGUI\getCmixUser(), load(), and save().
Here is the caller graph for this function:| ilCmiXapiUser::getRegistration | ( | ) |
Definition at line 114 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by save().
Here is the caller graph for this function:
|
static |
Definition at line 603 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getRefId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiUser::getSatisfied | ( | ) |
Definition at line 153 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by save().
Here is the caller graph for this function:
|
static |
Definition at line 419 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, and $usrId.
Referenced by ilCmiXapiStatementsReportLinkBuilder\buildFilterStage().
Here is the caller graph for this function:
|
static |
Definition at line 533 of file class.ilCmiXapiUser.php.
References $id, getUUID(), and userObjectUniqueIdExists().
Referenced by getIdentAsId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 389 of file class.ilCmiXapiUser.php.
References $DIC, $objId, and $res.
Referenced by ilCmiXapiHighscoreReport\__construct(), ilCmiXapiStatementsReport\__construct(), ilCmiXapiStatementsDeleteRequest\buildDeleteAll(), ilCmiXapiStatementsDeleteRequest\buildDeleteFiltered(), ilCmiXapiStatementsDeleteRequest\buildDeleteStates(), ilCmiXapiStatementsReportLinkBuilder\buildFilterStage(), ilCmiXapiHighscoreReportLinkBuilder\getUsersStack(), ilCmiXapiStatementsGUI\initTableData(), and ilLPStatusCmiXapiAbstract\loadStatusInfo().
Here is the caller graph for this function:| ilCmiXapiUser::getUsrId | ( | ) |
Definition at line 94 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by ilLTIToolXapiStatementsGUI\getActorName(), ilCmiXapiStatementsTableGUI\getUsername(), load(), and save().
Here is the caller graph for this function:| ilCmiXapiUser::getUsrIdent | ( | ) |
Definition at line 104 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by ilLTIAdvantagePlatformLaunchParameterBuilder\build(), ilLTIAdvantagePlatformMembershipService\getMember(), and save().
Here is the caller graph for this function:
|
static |
Definition at line 608 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, $usrId, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 564 of file class.ilCmiXapiUser.php.
References Vendor\Package\$e, ILIAS\Repository\int(), and ILIAS\Scripts\PHPStan\str_repeat.
Referenced by getIliasUuid(), and getUserObjectUniqueId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiUser::hasProxySuccess | ( | ) |
Definition at line 135 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by ilObjCmiXapiGUI\isFetchXapiStatementsRequired(), and save().
Here is the caller graph for this function:
|
protected |
Definition at line 168 of file class.ilCmiXapiUser.php.
References $res, assignFromDbRow(), ILIAS\Repository\database(), getObjId(), getPrivacyIdent(), and getUsrId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 502 of file class.ilCmiXapiUser.php.
References $DIC, $res, and ILIAS\Repository\int().
Here is the call graph for this function:| ilCmiXapiUser::save | ( | ) |
Definition at line 193 of file class.ilCmiXapiUser.php.
References $DIC, ilObjUser\_isAnonymous(), getFetchUntil(), getObjId(), getPrivacyIdent(), getRegistration(), getSatisfied(), getUsrId(), getUsrIdent(), hasProxySuccess(), and IL_CAL_DATETIME.
Here is the call graph for this function:
|
static |
Definition at line 255 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, and $usrId.
Referenced by XapiProxy\XapiProxyPolyFill\getLrsType().
Here is the caller graph for this function:| ilCmiXapiUser::setFetchUntil | ( | ilCmiXapiDateTime | $fetchUntil | ) |
Definition at line 163 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setObjId | ( | int | $objId | ) |
Definition at line 79 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setPrivacyIdent | ( | int | $privacyIdent | ) |
Definition at line 89 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setProxySuccess | ( | bool | $proxySuccess | ) |
Definition at line 140 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setRegistration | ( | string | $registration | ) |
Definition at line 119 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setSatisfied | ( | bool | $satisfied | ) |
Definition at line 145 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setUsrId | ( | int | $usrId | ) |
Definition at line 99 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by assignFromDbRow().
Here is the caller graph for this function:| ilCmiXapiUser::setUsrIdent | ( | string | $usrIdent | ) |
Definition at line 109 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by assignFromDbRow().
Here is the caller graph for this function:
|
static |
Definition at line 489 of file class.ilCmiXapiUser.php.
References $DIC, ilDateTime\get(), and IL_CAL_DATETIME.
Referenced by ilXapiResultsCronjob\run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 579 of file class.ilCmiXapiUser.php.
Referenced by getUserObjectUniqueId().
Here is the caller graph for this function:
|
private |
Definition at line 53 of file class.ilCmiXapiUser.php.
|
protected |
Definition at line 47 of file class.ilCmiXapiUser.php.
Referenced by getFetchUntil(), and setFetchUntil().
|
protected |
Definition at line 37 of file class.ilCmiXapiUser.php.
Referenced by __construct(), deleteUsersForObject(), exists(), generateCMI5Registration(), getInstanceByObjectIdAndUsrIdent(), getInstancesByObjectIdAndUsrId(), getObjId(), getUserIdents(), getUsersForObject(), getUsrIdForObjectAndUsrIdent(), saveProxySuccess(), and setObjId().
|
protected |
Definition at line 41 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), getPrivacyIdent(), saveProxySuccess(), and setPrivacyIdent().
|
protected |
Definition at line 43 of file class.ilCmiXapiUser.php.
Referenced by hasProxySuccess(), and setProxySuccess().
|
protected |
Definition at line 51 of file class.ilCmiXapiUser.php.
Referenced by getRegistration(), and setRegistration().
|
protected |
Definition at line 45 of file class.ilCmiXapiUser.php.
Referenced by getSatisfied(), and setSatisfied().
|
protected |
Definition at line 39 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), generateCMI5Registration(), getInstancesByObjectIdAndUsrId(), getUserIdents(), getUsrId(), getUsrIdForObjectAndUsrIdent(), saveProxySuccess(), and setUsrId().
|
protected |
Definition at line 49 of file class.ilCmiXapiUser.php.
Referenced by getInstanceByObjectIdAndUsrIdent(), getUsrIdent(), and setUsrIdent().
| const ilCmiXapiUser::DB_TABLE_NAME = 'cmix_users' |
Definition at line 35 of file class.ilCmiXapiUser.php.