ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct ($objId=null, $usrId=null, $privacyIdent=null) | |
getObjId () | |
setObjId ($objId) | |
getPrivacyIdent () | |
setPrivacyIdent ($privacyIdent) | |
getUsrId () | |
setUsrId ($usrId) | |
getUsrIdent () | |
setUsrIdent (string $usrIdent) | |
getRegistration () | |
setRegistration (string $registration) | |
hasProxySuccess () | |
setProxySuccess ($proxySuccess) | |
setSatisfied ($satisfied) | |
getSatisfied () | |
getFetchUntil () | |
setFetchUntil (ilCmiXapiDateTime $fetchUntil) | |
load () | |
assignFromDbRow ($dbRow) | |
save () | |
Static Public Member Functions | |
static | getIliasUuid () |
static | getInstancesByObjectIdAndUsrId ($objId, $usrId) |
static | getInstanceByObjectIdAndUsrIdent ($objId, $usrIdent) |
static | saveProxySuccess ($objId, $usrId, $privacyIdent) |
static | getIdent ($userIdentMode, ilObjUser $user) |
static | getIdentAsId ($userIdentMode, ilObjUser $user) |
static | getName ($userNameMode, ilObjUser $user) |
static | getUsersForObject ($objId, $asUsrId=false) |
static | getUserIdents ($objId, $usrId) |
static | deleteUsersForObject (int $objId, ?array $users=[]) |
static | exists ($objId, $usrId, $privacyIdent=999) |
static | getCmixObjectsHavingUsersMissingProxySuccess () |
static | updateFetchedUntilForObjects (ilCmiXapiDateTime $fetchedUntil, $objectIds) |
static | lookupObjectIds ($usrId, $type='') |
static | getUserObjectUniqueId ( $length=32) |
static | getUUID ($length=32) |
static | generateCMI5Registration ($objId, $usrId) |
static | generateRegistration (ilObjCmiXapi $obj, ilObjUser $user) |
static | getCMI5RegistrationFromAuthToken (ilCmiXapiAuthToken $authToken) |
static | getRegistrationFromAuthToken (ilCmiXapiAuthToken $authToken) |
Data Fields | |
const | DB_TABLE_NAME = 'cmix_users' |
Static Protected Member Functions | |
static | buildPseudoEmail ($mbox, $domain) |
Protected Attributes | |
$objId | |
$usrId | |
$privacyIdent | |
$proxySuccess | |
$satisfied | |
$fetchUntil | |
$usrIdent | |
$registration | |
Static Private Member Functions | |
static | userObjectUniqueIdExists ($id) |
Definition at line 15 of file class.ilCmiXapiUser.php.
ilCmiXapiUser::__construct | ( | $objId = null , |
|
$usrId = null , |
|||
$privacyIdent = null |
|||
) |
Definition at line 60 of file class.ilCmiXapiUser.php.
References $objId, $privacyIdent, $usrId, IL_CAL_UNIX, and load().
ilCmiXapiUser::assignFromDbRow | ( | $dbRow | ) |
Definition at line 235 of file class.ilCmiXapiUser.php.
References IL_CAL_DATETIME, setFetchUntil(), setObjId(), setPrivacyIdent(), setProxySuccess(), setRegistration(), setSatisfied(), setUsrId(), and setUsrIdent().
Referenced by load().
|
staticprotected |
string | $mbox | |
string | $domain |
Definition at line 404 of file class.ilCmiXapiUser.php.
|
static |
int | $objId | |
int[] | $users |
Definition at line 501 of file class.ilCmiXapiUser.php.
|
static |
Definition at line 517 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, $query, $res, and $usrId.
Referenced by ilLPStatusCmiXapiAbstract\determineStatus(), and ilObjCmiXapiGUI\initInfoScreenToolbar().
|
static |
Definition at line 674 of file class.ilCmiXapiUser.php.
References $objId, and $usrId.
Referenced by ilCmiXapiLaunchGUI\initCmixUser().
|
static |
Definition at line 679 of file class.ilCmiXapiUser.php.
References ilObject\getId(), and ilObject2\getRefId().
Referenced by ilCmiXapiLaunchGUI\CMI5preLaunch(), and ilCmiXapiLaunchGUI\getLaunchParameters().
|
static |
Definition at line 684 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getObjId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
|
static |
Definition at line 546 of file class.ilCmiXapiUser.php.
References $DIC, $query, and $res.
Referenced by ilXapiResultsCronjob\getObjectsToBeReported().
ilCmiXapiUser::getFetchUntil | ( | ) |
Definition at line 207 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by ilObjCmiXapiGUI\fetchXapiStatements(), save(), and ilObjCmiXapiGUI\sendLastFetchInfo().
|
static |
string | $userIdentMode | |
ilObjUser | $user |
Definition at line 332 of file class.ilCmiXapiUser.php.
References ilObject\getCreateDate(), ilObjUser\getEmail(), 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_USER_ID, and ilObjCmiXapi\PRIVACY_IDENT_REAL_EMAIL.
Referenced by ilLTIConsumerEmbeddedContentGUI\initCmixUser(), ilCmiXapiLaunchGUI\initCmixUser(), and ilObjLTIConsumerGUI\initInfoScreenToolbar().
|
static |
string | $userIdentMode | |
ilObjUser | $user |
Definition at line 368 of file class.ilCmiXapiUser.php.
References 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_USER_ID, and ilObjCmiXapi\PRIVACY_IDENT_REAL_EMAIL.
Referenced by ilObjLTIConsumer\buildLaunchParameters().
|
static |
Definition at line 159 of file class.ilCmiXapiUser.php.
Referenced by ilCmiXapiSettingsGUI\buildForm(), ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), ilCmiXapiContentUploadImporter\generateActivityId(), and ilLTIConsumeProviderFormGUI\initForm().
|
static |
Definition at line 286 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, and $usrIdent.
Referenced by ilXapiStatementEvaluation\getCmixUser().
|
static |
|
static |
string | $userNameMode | |
ilObjUser | $user |
Definition at line 414 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 79 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by load(), and save().
ilCmiXapiUser::getPrivacyIdent | ( | ) |
Definition at line 95 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by load(), and save().
ilCmiXapiUser::getRegistration | ( | ) |
Definition at line 143 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by save().
|
static |
Definition at line 689 of file class.ilCmiXapiUser.php.
References ilCmiXapiAuthToken\getRefId(), and ilCmiXapiAuthToken\getUsrId().
Referenced by XapiProxy\XapiProxyRequest\handleGetStatementsRequest().
ilCmiXapiUser::getSatisfied | ( | ) |
Definition at line 199 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by save().
|
static |
int | $objId | |
int | $usrId |
Definition at line 479 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $res, and $usrId.
Referenced by ilCmiXapiStatementsReportLinkBuilder\buildFilterStage().
|
static |
|
static |
int | $object |
Definition at line 442 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().
ilCmiXapiUser::getUsrId | ( | ) |
Definition at line 111 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by ilCmiXapiStatementsTableGUI\getUsername(), load(), and save().
ilCmiXapiUser::getUsrIdent | ( | ) |
Definition at line 127 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by ilObjLTIConsumer\buildLaunchParameters(), ilLTIConsumerEmbeddedContentGUI\initCmixUser(), ilCmiXapiLaunchGUI\initCmixUser(), ilObjLTIConsumerGUI\initInfoScreenToolbar(), and save().
|
static |
ilCmiXapiUser::hasProxySuccess | ( | ) |
Definition at line 175 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by ilObjCmiXapiGUI\isFetchXapiStatementsRequired(), and save().
ilCmiXapiUser::load | ( | ) |
Definition at line 220 of file class.ilCmiXapiUser.php.
References $DIC, $res, assignFromDbRow(), getObjId(), getPrivacyIdent(), and getUsrId().
Referenced by __construct().
|
static |
ilCmiXapiUser::save | ( | ) |
Definition at line 247 of file class.ilCmiXapiUser.php.
References $DIC, getFetchUntil(), getObjId(), getPrivacyIdent(), getRegistration(), getSatisfied(), getUsrId(), getUsrIdent(), hasProxySuccess(), and IL_CAL_DATETIME.
|
static |
int | $objId | |
int | $usrId | |
int | $privacyIdent |
Definition at line 310 of file class.ilCmiXapiUser.php.
References $DIC, $objId, $privacyIdent, and $usrId.
Referenced by XapiProxy\XapiProxyPolyFill\getLrsType().
ilCmiXapiUser::setFetchUntil | ( | ilCmiXapiDateTime | $fetchUntil | ) |
ilCmiXapiDateTime | $fetchUntil |
Definition at line 215 of file class.ilCmiXapiUser.php.
References $fetchUntil.
Referenced by assignFromDbRow().
ilCmiXapiUser::setObjId | ( | $objId | ) |
int | $objId |
Definition at line 87 of file class.ilCmiXapiUser.php.
References $objId.
Referenced by assignFromDbRow().
ilCmiXapiUser::setPrivacyIdent | ( | $privacyIdent | ) |
int | $privacyIdent |
Definition at line 103 of file class.ilCmiXapiUser.php.
References $privacyIdent.
Referenced by assignFromDbRow().
ilCmiXapiUser::setProxySuccess | ( | $proxySuccess | ) |
bool | $proxySuccess |
Definition at line 183 of file class.ilCmiXapiUser.php.
References $proxySuccess.
Referenced by assignFromDbRow().
ilCmiXapiUser::setRegistration | ( | string | $registration | ) |
string |
Definition at line 151 of file class.ilCmiXapiUser.php.
References $registration.
Referenced by assignFromDbRow().
ilCmiXapiUser::setSatisfied | ( | $satisfied | ) |
bool | $satisfied |
Definition at line 191 of file class.ilCmiXapiUser.php.
References $satisfied.
Referenced by assignFromDbRow().
ilCmiXapiUser::setUsrId | ( | $usrId | ) |
int | $usrId |
Definition at line 119 of file class.ilCmiXapiUser.php.
References $usrId.
Referenced by assignFromDbRow().
ilCmiXapiUser::setUsrIdent | ( | string | $usrIdent | ) |
string | $usrIdent |
Definition at line 135 of file class.ilCmiXapiUser.php.
References $usrIdent.
Referenced by assignFromDbRow().
|
static |
Definition at line 570 of file class.ilCmiXapiUser.php.
References $DIC, $query, ilDateTime\get(), and IL_CAL_DATETIME.
Referenced by ilXapiResultsCronjob\run().
|
staticprivate |
|
protected |
Definition at line 47 of file class.ilCmiXapiUser.php.
Referenced by getFetchUntil(), and setFetchUntil().
|
protected |
Definition at line 22 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), generateCMI5Registration(), getInstanceByObjectIdAndUsrIdent(), getInstancesByObjectIdAndUsrId(), getObjId(), getUserIdents(), getUsersForObject(), saveProxySuccess(), and setObjId().
|
protected |
Definition at line 32 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), getPrivacyIdent(), saveProxySuccess(), and setPrivacyIdent().
|
protected |
Definition at line 37 of file class.ilCmiXapiUser.php.
Referenced by hasProxySuccess(), and setProxySuccess().
|
protected |
Definition at line 57 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 27 of file class.ilCmiXapiUser.php.
Referenced by __construct(), exists(), generateCMI5Registration(), getInstancesByObjectIdAndUsrId(), getUserIdents(), getUsrId(), saveProxySuccess(), and setUsrId().
|
protected |
Definition at line 52 of file class.ilCmiXapiUser.php.
Referenced by getInstanceByObjectIdAndUsrIdent(), getUsrIdent(), and setUsrIdent().
const ilCmiXapiUser::DB_TABLE_NAME = 'cmix_users' |
Definition at line 17 of file class.ilCmiXapiUser.php.