Inherits Iterator.
Inherited by UserArrayFromResult.
Definition at line 25 of file UserArray.php.
◆ current()
◆ key()
◆ newFromIDs()
static UserArray::newFromIDs |
( |
| $ids | ) |
|
|
static |
- Note
- Try to avoid in new code, in case getting UserIdentity batch is enough, use
()
. In case you need full User objects, you can keep using this method, but it's moving towards deprecation.
- Parameters
-
- Returns
- UserArrayFromResult|ArrayIterator
Definition at line 52 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 |
◆ newFromResult()
static UserArray::newFromResult |
( |
| $res | ) |
|
|
static |
- Note
- Try to avoid in new code, in case getting UserIdentity batch is enough, use
()
. In case you need full User objects, you can keep using this method, but it's moving towards deprecation.
- Parameters
-
- Returns
- UserArrayFromResult|ArrayIterator
Definition at line 35 of file UserArray.php.
References $res.
Referenced by newFromIDs(), and newFromNames().
The documentation for this class was generated from the following file: