|
| getUserIdentityByName (string $name, int $queryFlags=self::READ_NORMAL) |
| Find an identity of a user by $name.
|
|
| getUserIdentityByUserId (int $userId, int $queryFlags=self::READ_NORMAL) |
| Find an identity of a user by $userId.
|
|
| newSelectQueryBuilder ( $dbOrQueryFlags=self::READ_NORMAL) |
| Returns a specialized SelectQueryBuilder for querying the UserIdentity objects.
|
|
|
const | READ_NONE = -1 |
| Constants for object loading bitfield flags (higher => higher QoS)
|
|
Definition at line 33 of file UserIdentityLookup.php.
◆ getUserIdentityByName()
MediaWiki\User\UserIdentityLookup::getUserIdentityByName |
( |
string | $name, |
|
|
int | $queryFlags = self::READ_NORMAL ) |
Find an identity of a user by $name.
- Parameters
-
- Returns
- UserIdentity|null
- Exceptions
-
InvalidArgumentException | if non-normalizable actor name is passed. |
Implemented in MediaWiki\User\ActorStore.
◆ getUserIdentityByUserId()
MediaWiki\User\UserIdentityLookup::getUserIdentityByUserId |
( |
int | $userId, |
|
|
int | $queryFlags = self::READ_NORMAL ) |
◆ newSelectQueryBuilder()
MediaWiki\User\UserIdentityLookup::newSelectQueryBuilder |
( |
| $dbOrQueryFlags = self::READ_NORMAL | ) |
|
Returns a specialized SelectQueryBuilder for querying the UserIdentity objects.
- Parameters
-
IDatabase | int | $dbOrQueryFlags | The database connection to perform the query on, or one of the self::READ_* constants. |
- Returns
- UserSelectQueryBuilder
Implemented in MediaWiki\User\ActorStore.
The documentation for this interface was generated from the following file: