MediaWiki
REL1_22
|
SkinTemplate class for Vector skin. More...
Public Member Functions | |
addToBodyAttributes ($out, &$bodyAttrs) | |
Adds classes to the body element. | |
initPage (OutputPage $out) | |
Initializes output page and sets up skin-specific parameters. | |
setupSkinUserCss (OutputPage $out) | |
Loads skin and user CSS files. | |
Public Attributes | |
$skinname = 'vector' | |
#@+ | |
$stylename = 'vector' | |
Stylesheets set to use. | |
$template = 'VectorTemplate' | |
For QuickTemplate, the name of the subclass which will actually fill the template. | |
$useHeadElement = true | |
Whether this skin use OutputPage::headElement() to generate the "<head>" tag. | |
Static Protected Attributes | |
static | $bodyClasses = array( 'vector-animateLayout' ) |
SkinTemplate class for Vector skin.
Definition at line 34 of file Vector.php.
SkinVector::addToBodyAttributes | ( | $ | out, |
&$ | bodyAttrs | ||
) |
Adds classes to the body element.
$out | OutputPage object |
&$bodyAttrs | Array of attributes that will be set on the body element |
Reimplemented from Skin.
Definition at line 81 of file Vector.php.
SkinVector::initPage | ( | OutputPage $ | out | ) |
Initializes output page and sets up skin-specific parameters.
$out | OutputPage object to initialize |
Reimplemented from Skin.
Definition at line 45 of file Vector.php.
References OutputPage\addHeadItem(), OutputPage\addModules(), array(), ContextSource\getRequest(), and global.
SkinVector::setupSkinUserCss | ( | OutputPage $ | out | ) |
Loads skin and user CSS files.
$out | OutputPage object |
Reimplemented from SkinTemplate.
Definition at line 67 of file Vector.php.
References OutputPage\addModuleStyles(), array(), and wfRunHooks().
SkinVector::$bodyClasses = array( 'vector-animateLayout' ) [static, protected] |
Definition at line 36 of file Vector.php.
SkinVector::$skinname = 'vector' |
#@+
Reimplemented from SkinTemplate.
Definition at line 38 of file Vector.php.
SkinVector::$stylename = 'vector' |
Stylesheets set to use.
Subdirectory in skins/ where various stylesheets are located. Child classes should override the default.
Reimplemented from SkinTemplate.
Definition at line 38 of file Vector.php.
SkinVector::$template = 'VectorTemplate' |
For QuickTemplate, the name of the subclass which will actually fill the template.
Child classes should override the default.
Reimplemented from SkinTemplate.
Definition at line 39 of file Vector.php.
SkinVector::$useHeadElement = true |
Whether this skin use OutputPage::headElement() to generate the "<head>" tag.
Reimplemented from SkinTemplate.
Definition at line 39 of file Vector.php.