MediaWiki REL1_39
MediaWiki\Skin\SkinComponentRegistryContext Class Reference
Inheritance diagram for MediaWiki\Skin\SkinComponentRegistryContext:
Collaboration diagram for MediaWiki\Skin\SkinComponentRegistryContext:

Public Member Functions

 __construct (Skin $skin)
 
 getConfig ()
 Returns the config needed for the component.
Returns
Config

 
 getLanguage ()
 
 getMessageLocalizer ()
 
 getOutput ()
 
 getRelevantTitle ()
 
 getTitle ()
 Returns the Title object for the component.
Returns
Title

 
 getUser ()
 

Detailed Description

Access: internal
for use inside Skin and SkinTemplate classes only
Stability: unstable

Definition at line 32 of file SkinComponentRegistryContext.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Skin\SkinComponentRegistryContext::__construct ( Skin $skin)
Parameters
Skin$skin

Definition at line 42 of file SkinComponentRegistryContext.php.

Member Function Documentation

◆ getConfig()

MediaWiki\Skin\SkinComponentRegistryContext::getConfig ( )

Returns the config needed for the component.

Returns
Config

Implements MediaWiki\Skin\ComponentRegistryContext.

Definition at line 49 of file SkinComponentRegistryContext.php.

◆ getLanguage()

MediaWiki\Skin\SkinComponentRegistryContext::getLanguage ( )
Returns
string|null $language

Definition at line 84 of file SkinComponentRegistryContext.php.

◆ getMessageLocalizer()

MediaWiki\Skin\SkinComponentRegistryContext::getMessageLocalizer ( )
Returns
MessageLocalizer

Definition at line 91 of file SkinComponentRegistryContext.php.

◆ getOutput()

MediaWiki\Skin\SkinComponentRegistryContext::getOutput ( )
Returns
OutputPage

Definition at line 70 of file SkinComponentRegistryContext.php.

◆ getRelevantTitle()

MediaWiki\Skin\SkinComponentRegistryContext::getRelevantTitle ( )
Returns
Title|null the "relevant" title - see Skin::getRelevantTitle

Definition at line 63 of file SkinComponentRegistryContext.php.

References getTitle().

◆ getTitle()

MediaWiki\Skin\SkinComponentRegistryContext::getTitle ( )

Returns the Title object for the component.

Returns
Title

Implements MediaWiki\Skin\ComponentRegistryContext.

Definition at line 56 of file SkinComponentRegistryContext.php.

◆ getUser()

MediaWiki\Skin\SkinComponentRegistryContext::getUser ( )
Returns
User

Definition at line 77 of file SkinComponentRegistryContext.php.


The documentation for this class was generated from the following file: