MediaWiki  REL1_19
SkinVector Class Reference

SkinTemplate class for Vector skin. More...

Inheritance diagram for SkinVector:
Collaboration diagram for SkinVector:

List of all members.

Public Member Functions

 initPage (OutputPage $out)
 Initializes output page and sets up skin-specific parameters.
 setupSkinUserCss (OutputPage $out)
 Load skin and user CSS files in the correct order fixes bug 22916.

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.

Detailed Description

SkinTemplate class for Vector skin.

Definition at line 19 of file Vector.php.


Member Function Documentation

Initializes output page and sets up skin-specific parameters.

Parameters:
$outOutputPage object to initialize

Reimplemented from Skin.

Definition at line 28 of file Vector.php.

References $wgLocalStylePath, OutputPage\addHeadItem(), OutputPage\addModuleScripts(), and ContextSource\getRequest().

Here is the call graph for this function:

Load skin and user CSS files in the correct order fixes bug 22916.

Parameters:
$outOutputPage object

Reimplemented from SkinTemplate.

Definition at line 51 of file Vector.php.

References OutputPage\addModuleStyles().

Here is the call graph for this function:


Member Data Documentation

SkinVector::$skinname = 'vector'

#@+

Access:
private Name of our skin, it probably needs to be all lower case. Child classes should override the default.

Reimplemented from SkinTemplate.

Definition at line 21 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 21 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 22 of file Vector.php.

SkinVector::$useHeadElement = true

Whether this skin use OutputPage::headElement() to generate the <head> tag.

Reimplemented from SkinTemplate.

Definition at line 22 of file Vector.php.


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