Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5951896
UserArrayFromResultHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
756 B
Referenced Files
None
Subscribers
None
UserArrayFromResultHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment