MediaWiki REL1_40
|
Inherits MediaWiki\Skin\ComponentRegistryContext.
Public Member Functions | |
__construct (Skin $skin) | |
getConfig () | |
Returns the config needed for the component.
| |
getContextSource () | |
getFooterIcons () | |
Temporarily allows access to Skin method. | |
getLanguage () | |
getMessageLocalizer () | |
getOutput () | |
getRelevantTitle () | |
getTitle () | |
Returns the Title object for the component.
| |
getUser () | |
getWikiPage () | |
makeFooterIcon ( $icon, $withImage='withImage') | |
Renders a $wgFooterIcons icon according to the method's arguments It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41. | |
runHook (string $methodName, array $args) | |
Run a hook. | |
Definition at line 36 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::__construct | ( | Skin | $skin | ) |
Skin | $skin |
Definition at line 48 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::getConfig | ( | ) |
Returns the config needed for the component.
Implements MediaWiki\Skin\ComponentRegistryContext.
Definition at line 62 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct().
MediaWiki\Skin\SkinComponentRegistryContext::getContextSource | ( | ) |
Definition at line 55 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::getFooterIcons | ( | ) |
Temporarily allows access to Skin method.
It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41
Definition at line 234 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::getLanguage | ( | ) |
Definition at line 97 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentLastModified\__construct().
MediaWiki\Skin\SkinComponentRegistryContext::getMessageLocalizer | ( | ) |
Definition at line 104 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct(), and MediaWiki\Skin\SkinComponentLastModified\__construct().
MediaWiki\Skin\SkinComponentRegistryContext::getOutput | ( | ) |
Definition at line 83 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::getRelevantTitle | ( | ) |
Definition at line 76 of file SkinComponentRegistryContext.php.
References getTitle().
MediaWiki\Skin\SkinComponentRegistryContext::getTitle | ( | ) |
Returns the Title object for the component.
Implements MediaWiki\Skin\ComponentRegistryContext.
Definition at line 69 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::getUser | ( | ) |
Definition at line 90 of file SkinComponentRegistryContext.php.
Referenced by MediaWiki\Skin\SkinComponentCopyright\__construct(), and MediaWiki\Skin\SkinComponentLastModified\__construct().
MediaWiki\Skin\SkinComponentRegistryContext::getWikiPage | ( | ) |
Definition at line 118 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::makeFooterIcon | ( | $icon, | |
$withImage = 'withImage' ) |
Renders a $wgFooterIcons icon according to the method's arguments It exists to support skins overriding the method in MediaWiki 1.40 (overriding the method is now deprecated) It can be removed in 1.41.
array | $icon | The icon to build the html for, see $wgFooterIcons for the format of this array. |
bool | string | $withImage | Whether to use the icon's image or output a text-only footericon. |
Definition at line 252 of file SkinComponentRegistryContext.php.
MediaWiki\Skin\SkinComponentRegistryContext::runHook | ( | string | $methodName, |
array | $args ) |
Run a hook.
string | $methodName | |
array | $args |
Definition at line 128 of file SkinComponentRegistryContext.php.