MediaWiki
REL1_35
UserGetLanguageObjectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
IContextSource
;
6
use
User
;
7
12
interface
UserGetLanguageObjectHook
{
23
public
function
onUserGetLanguageObject
( $user, &$code, $context );
24
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Hook\UserGetLanguageObjectHook
Stable to implement.
Definition
UserGetLanguageObjectHook.php:12
MediaWiki\Hook\UserGetLanguageObjectHook\onUserGetLanguageObject
onUserGetLanguageObject( $user, &$code, $context)
This hook is called when getting a user's interface language object.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
context
Hook
UserGetLanguageObjectHook.php
Generated on Sat Apr 6 2024 00:07:03 for MediaWiki by
1.9.8