MinervaNeue
A responsive mobile first skin
|
A wrapper for all available Skin options. More...
Public Member Functions | |
__construct (HookContainer $hookContainer, SkinUserPageHelper $skinUserPageHelper) | |
setMultiple (array $options) | |
override an existing option or options with new values | |
get (string $key) | |
Return whether a skin option is truthy. | |
getAll () | |
Get all skin options. | |
hasSkinOptions () | |
Return whether any of the skin options have been set. | |
setMinervaSkinOptions (MobileContext $mobileContext, Skin $skin) | |
Set the skin options for Minerva. | |
A wrapper for all available Skin options.
MediaWiki\Minerva\SkinOptions::get | ( | string | $key | ) |
Return whether a skin option is truthy.
Should be one of self:* constants
string | $key |
MediaWiki\Minerva\SkinOptions::getAll | ( | ) |
Get all skin options.
MediaWiki\Minerva\SkinOptions::hasSkinOptions | ( | ) |
Return whether any of the skin options have been set.
MediaWiki\Minerva\SkinOptions::setMinervaSkinOptions | ( | MobileContext | $mobileContext, |
Skin | $skin ) |
Set the skin options for Minerva.
MobileContext | $mobileContext | |
Skin | $skin |
MediaWiki\Minerva\SkinOptions::setMultiple | ( | array | $options | ) |
override an existing option or options with new values
array | $options |