|
ILIAS
release_8 Revision v8.24
|
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) |
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.
| ilCmiXapiUser::__construct | ( | ?int | $objId = null, |
| ?int | $usrId = null, |
||
| ?int | $privacyIdent = null |
||
| ) |
Definition at line 53 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $usrId, IL_CAL_UNIX, and load().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 354 of file class.ilCmiXapiUser.php.
Referenced by getIdent().
Here is the caller graph for this function:
|
static |
Definition at line 434 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $query, $res, and $usrId.
Referenced by ilLPStatusCmiXapiAbstract\determineStatus(), and ilObjCmiXapiGUI\initInfoScreenToolbar().
Here is the caller graph for this function:
|
static |
Definition at line 586 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 591 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 596 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 463 of file class.ilCmiXapiUser.php.
References $DIC, $query, $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 156 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 269 of file class.ilCmiXapiUser.php.
References $_SERVER, 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 ilObjLTIConsumer\buildContentSelectionParameters(), ilObjLTIConsumer\buildLaunchParametersLTI13(), ilObjLTIConsumerGUI\contentSelectionRequest(), ilLTIConsumerContentGUI\getStartButtonTxt11(), ilCmiXapiLaunchGUI\initCmixUser(), and ilLTIConsumerContentGUI\initCmixUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 315 of file class.ilCmiXapiUser.php.
References $_SERVER, 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 ilObjLTIConsumer\buildLaunchParameters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 121 of file class.ilCmiXapiUser.php.
References getUUID().
Referenced by ilCmiXapiSettingsGUI\buildForm(), ilObjLTIConsumer\buildLaunchParameters(), ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), ilCmiXapiContentUploadImporter\generateActivityId(), ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 235 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 218 of file class.ilCmiXapiUser.php.
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiUser::getObjId | ( | ) |
Definition at line 71 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 81 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by load(), and save().
Here is the caller graph for this function:| ilCmiXapiUser::getRegistration | ( | ) |
Definition at line 111 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by save().
Here is the caller graph for this function:
|
static |
Definition at line 601 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 151 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by save().
Here is the caller graph for this function:
|
static |
Definition at line 417 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 531 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 387 of file class.ilCmiXapiUser.php.
References $DIC, $objId, and $res.
Referenced by ilCmiXapiHighscoreReport\__construct(), ilCmiXapiStatementsReport\__construct(), ilCmiXapiStatementsReportLinkBuilder\buildFilterStage(), ilCmiXapiHighscoreReportLinkBuilder\getUsersStack(), ilCmiXapiStatementsGUI\initTableData(), and ilLPStatusCmiXapiAbstract\loadStatusInfo().
Here is the caller graph for this function:| ilCmiXapiUser::getUsrId | ( | ) |
Definition at line 91 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by ilCmiXapiStatementsTableGUI\getUsername(), load(), and save().
Here is the caller graph for this function:| ilCmiXapiUser::getUsrIdent | ( | ) |
Definition at line 101 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by ilObjLTIConsumer\buildLaunchParameters(), ilObjLTIConsumer\buildLaunchParametersLTI13(), ilLTIConsumerContentGUI\getStartButtonTxt11(), save(), and ilLTIConsumerContentGUI\validateLTI13InitalLogin().
Here is the caller graph for this function:
|
static |
Definition at line 606 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $query, $res, $usrId, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 562 of file class.ilCmiXapiUser.php.
References Vendor\Package\$e, and ILIAS\Repository\int().
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 133 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 166 of file class.ilCmiXapiUser.php.
References $res, assignFromDbRow(), 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 500 of file class.ilCmiXapiUser.php.
References $DIC, $query, $res, $type, and ILIAS\Repository\int().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 253 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 161 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 76 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 86 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 138 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 116 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 143 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 96 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 106 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by assignFromDbRow(), and ilLTIConsumerContentGUI\getStartButtonTxt11().
Here is the caller graph for this function:
|
static |
Definition at line 487 of file class.ilCmiXapiUser.php.
References $DIC, $query, 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 577 of file class.ilCmiXapiUser.php.
References $DIC, $id, and $query.
Referenced by getUserObjectUniqueId().
Here is the caller graph for this function:
|
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(), exists(), generateCMI5Registration(), getInstanceByObjectIdAndUsrIdent(), getInstancesByObjectIdAndUsrId(), getObjId(), getUserIdents(), getUsersForObject(), getUsrIdForObjectAndUsrIdent(), saveProxySuccess(), and setObjId().
|
protected |
Definition at line 38 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), getPrivacyIdent(), saveProxySuccess(), 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(), exists(), generateCMI5Registration(), getInstancesByObjectIdAndUsrId(), getUserIdents(), getUsrId(), getUsrIdForObjectAndUsrIdent(), saveProxySuccess(), and setUsrId().
|
protected |
Definition at line 46 of file class.ilCmiXapiUser.php.
Referenced by getInstanceByObjectIdAndUsrIdent(), getUsrIdent(), and setUsrIdent().
| const ilCmiXapiUser::DB_TABLE_NAME = 'cmix_users' |
Definition at line 32 of file class.ilCmiXapiUser.php.