MediaWiki REL1_35
MediaWiki\User\Hook\UserLoadFromDatabaseHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserLoadFromDatabaseHook:

Public Member Functions

 onUserLoadFromDatabase ( $user, &$s)
 This hook is called when loading a user from the database.
 

Detailed Description

Stable to implement.

Definition at line 12 of file UserLoadFromDatabaseHook.php.

Member Function Documentation

◆ onUserLoadFromDatabase()

MediaWiki\User\Hook\UserLoadFromDatabaseHook::onUserLoadFromDatabase (   $user,
$s 
)

This hook is called when loading a user from the database.

Since
1.35
Parameters
User$user
stdClass | bool&$sDatabase query 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: