MediaWiki  master
RequestContextCreateSkinHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use Skin;
7 
28  public function onRequestContextCreateSkin( $context, &$skin );
29 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:57
MediaWiki\Hook\RequestContextCreateSkinHook\onRequestContextCreateSkin
onRequestContextCreateSkin( $context, &$skin)
This hook is called when RequestContext::getSkin creates a skin instance.
Skin
The main skin class which provides methods and properties for all other skins.
Definition: Skin.php:42
MediaWiki\$context
IContextSource $context
Definition: MediaWiki.php:40
MediaWiki\Hook\RequestContextCreateSkinHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RequestContextCreateSkinHook.php:15