Page MenuHomeWickedGov Phorge

UserArrayFromResultHook.php
No OneTemporary

Size
756 B
Referenced Files
None
Subscribers
None

UserArrayFromResultHook.php

<?php
namespace MediaWiki\User\Hook;
use MediaWiki\User\UserArray;
use Wikimedia\Rdbms\IResultWrapper;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserArrayFromResult" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UserArrayFromResultHook {
/**
* This hook is called when creating an UserArray object from a database result.
*
* @since 1.35
*
* @param UserArray|null &$userArray Set this to an object to override the default
* @param IResultWrapper $res Database result used to create the object
* @return bool|void True or no return value to continue or false to abort
*/
public function onUserArrayFromResult( &$userArray, $res );
}

File Metadata

Mime Type
text/x-php
Expires
Oct 3 2026, 01:06 (4 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b1/bb/27fb4002fae7f106884d01908723
Default Alt Text
UserArrayFromResultHook.php (756 B)

Event Timeline