MediaWiki  REL1_22
SkinVector Class Reference

SkinTemplate class for Vector skin. More...

Inheritance diagram for SkinVector:
Collaboration diagram for SkinVector:

List of all members.

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' )

Detailed Description

SkinTemplate class for Vector skin.

Definition at line 34 of file Vector.php.


Member Function Documentation

SkinVector::addToBodyAttributes ( out,
&$  bodyAttrs 
)

Adds classes to the body element.

Parameters:
$outOutputPage object
&$bodyAttrsArray of attributes that will be set on the body element

Reimplemented from Skin.

Definition at line 81 of file Vector.php.

Initializes output page and sets up skin-specific parameters.

Parameters:
$outOutputPage object to initialize

Reimplemented from Skin.

Definition at line 45 of file Vector.php.

References OutputPage\addHeadItem(), OutputPage\addModules(), array(), ContextSource\getRequest(), and global.

Loads skin and user CSS files.

Parameters:
$outOutputPage object

Reimplemented from SkinTemplate.

Definition at line 67 of file Vector.php.

References OutputPage\addModuleStyles(), array(), and wfRunHooks().


Member Data Documentation

SkinVector::$bodyClasses = array( 'vector-animateLayout' ) [static, protected]

Definition at line 36 of file Vector.php.

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 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.


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