MediaWiki  1.29.2
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, newFromResult(), User\selectFields(), 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, array(), DB_REPLICA, newFromResult(), User\selectFields(), and wfGetDB().

◆ newFromResult()

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

Definition at line 30 of file UserArray.php.

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

Referenced by newFromIDs(), and newFromNames().

◆ newFromResult_internal()

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

Definition at line 86 of file UserArray.php.

References $res.

Referenced by newFromResult().


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