MediaWiki REL1_35
MediaWiki\User\Hook\UserArrayFromResultHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserArrayFromResultHook:

Public Member Functions

 onUserArrayFromResult (&$userArray, $res)
 This hook is called when creating an UserArray object from a database result.
 

Detailed Description

Stable to implement.

Definition at line 12 of file UserArrayFromResultHook.php.

Member Function Documentation

◆ onUserArrayFromResult()

MediaWiki\User\Hook\UserArrayFromResultHook::onUserArrayFromResult ( $userArray,
  $res 
)

This hook is called when creating an UserArray object from a database result.

Since
1.35
Parameters
UserArrayFromResult | null&$userArraySet this to an object to override the default
IResultWrapper$resDatabase result used to create the object
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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