MediaWiki  1.32.5
UserArray Class Reference
Inheritance diagram for UserArray:
Collaboration diagram for UserArray:

Static Public Member Functions

static newFromIDs ( $ids)
 
static newFromNames ( $names)
 
static newFromResult ( $res)
 

Static Protected Member Functions

static newFromResult_internal ( $res)
 

Detailed Description

Definition at line 25 of file UserArray.php.

Member Function Documentation

◆ newFromIDs()

static UserArray::newFromIDs (   $ids)
static
Parameters
array$ids
Returns
UserArrayFromResult|ArrayIterator

Definition at line 45 of file UserArray.php.

References $dbr, $res, array(), DB_REPLICA, User\getQueryInfo(), newFromResult(), and wfGetDB().

Referenced by EmailNotification\actuallyNotifyOnPageChange(), and User\findUsersByGroup().

◆ newFromNames()

static UserArray::newFromNames (   $names)
static
Since
1.25
Parameters
array$names
Returns
UserArrayFromResult|ArrayIterator

Definition at line 69 of file UserArray.php.

References $dbr, $res, array(), DB_REPLICA, User\getQueryInfo(), newFromResult(), and wfGetDB().

◆ newFromResult()

static UserArray::newFromResult (   $res)
static
Parameters
IResultWrapper$res
Returns
UserArrayFromResult

Definition at line 30 of file UserArray.php.

References $res, newFromResult_internal(), and Hooks\run().

Referenced by ApiQueryUserContribs\execute(), newFromIDs(), and newFromNames().

◆ newFromResult_internal()

static UserArray::newFromResult_internal (   $res)
staticprotected
Parameters
IResultWrapper$res
Returns
UserArrayFromResult

Definition at line 92 of file UserArray.php.

References $res.

Referenced by newFromResult().


The documentation for this class was generated from the following file: