MediaWiki master
|
Inherited by MediaWiki\User\ActorStore.
Public Member Functions | |
getUserIdentityByName (string $name, int $queryFlags=IDBAccessObject::READ_NORMAL) | |
Find an identity of a user by $name. | |
getUserIdentityByUserId (int $userId, int $queryFlags=IDBAccessObject::READ_NORMAL) | |
Find an identity of a user by $userId. | |
newSelectQueryBuilder ( $dbOrQueryFlags=IDBAccessObject::READ_NORMAL) | |
Returns a specialized SelectQueryBuilder for querying the UserIdentity objects. | |
Definition at line 33 of file UserIdentityLookup.php.
MediaWiki\User\UserIdentityLookup::getUserIdentityByName | ( | string | $name, |
int | $queryFlags = IDBAccessObject::READ_NORMAL ) |
Find an identity of a user by $name.
string | $name | |
int | $queryFlags | one of IDBAccessObject constants |
InvalidArgumentException | if non-normalizable actor name is passed. |
Implemented in MediaWiki\User\ActorStore.
MediaWiki\User\UserIdentityLookup::getUserIdentityByUserId | ( | int | $userId, |
int | $queryFlags = IDBAccessObject::READ_NORMAL ) |
Find an identity of a user by $userId.
int | $userId | |
int | $queryFlags | one of IDBAccessObject constants |
Implemented in MediaWiki\User\ActorStore.
MediaWiki\User\UserIdentityLookup::newSelectQueryBuilder | ( | $dbOrQueryFlags = IDBAccessObject::READ_NORMAL | ) |
Returns a specialized SelectQueryBuilder for querying the UserIdentity objects.
IReadableDatabase | int | $dbOrQueryFlags | The database connection to perform the query on, or one of the IDBAccessObject::READ_* constants. |
Implemented in MediaWiki\User\ActorStore.