MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUserArrayFromResult (&$userArray, $res) | |
This hook is called when creating an UserArray object from a database result. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserArrayFromResult" to register handlers implementing this interface.
Definition at line 15 of file UserArrayFromResultHook.php.
MediaWiki\User\Hook\UserArrayFromResultHook::onUserArrayFromResult | ( | & | $userArray, |
$res | |||
) |
This hook is called when creating an UserArray object from a database result.
UserArrayFromResult | null | &$userArray | Set this to an object to override the default |
IResultWrapper | $res | Database result used to create the object |
Implemented in MediaWiki\HookContainer\HookRunner.