MediaWiki
REL1_37
UserIdentityLookup.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\User
;
22
23
use
IDBAccessObject
;
24
use InvalidArgumentException;
25
use
Wikimedia\Rdbms\IDatabase
;
26
33
interface
UserIdentityLookup
extends
IDBAccessObject
{
34
43
public
function
getUserIdentityByName
(
44
string
$name,
45
int
$queryFlags = self::READ_NORMAL
46
): ?
UserIdentity
;
47
55
public
function
getUserIdentityByUserId
(
56
int
$userId,
57
int
$queryFlags = self::READ_NORMAL
58
): ?
UserIdentity
;
59
67
public
function
newSelectQueryBuilder
( $dbOrQueryFlags = self::READ_NORMAL ):
UserSelectQueryBuilder
;
68
}
MediaWiki\User\UserSelectQueryBuilder
Definition
UserSelectQueryBuilder.php:29
IDBAccessObject
Interface for database access objects.
Definition
IDBAccessObject.php:57
MediaWiki\User\UserIdentityLookup
Definition
UserIdentityLookup.php:33
MediaWiki\User\UserIdentityLookup\getUserIdentityByName
getUserIdentityByName(string $name, int $queryFlags=self::READ_NORMAL)
Find an identity of a user by $name.
MediaWiki\User\UserIdentityLookup\getUserIdentityByUserId
getUserIdentityByUserId(int $userId, int $queryFlags=self::READ_NORMAL)
Find an identity of a user by $userId.
MediaWiki\User\UserIdentityLookup\newSelectQueryBuilder
newSelectQueryBuilder( $dbOrQueryFlags=self::READ_NORMAL)
Returns a specialized SelectQueryBuilder for querying the UserIdentity objects.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition
IDatabase.php:38
MediaWiki\User
Definition
ActorCache.php:21
includes
user
UserIdentityLookup.php
Generated on Fri Apr 5 2024 23:41:05 for MediaWiki by
1.9.8