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

Static Public Member Functions

static newFromIDs ( $ids)
 
static newFromNames ( $names)
 
static newFromResult ( $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 42 of file UserArray.php.

References $dbr, $res, 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 66 of file UserArray.php.

References $dbr, $res, 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.

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


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