MediaWiki  REL1_22
CologneBlueTemplate Class Reference
Inheritance diagram for CologneBlueTemplate:
Collaboration diagram for CologneBlueTemplate:

List of all members.

Public Member Functions

 afterContent ()
 beforeContent ()
 bottomLinks ()
 execute ()
 Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
 otherLanguages ()
 pageTitleLinks ()
 processBottomLink ($key, $navlink, $message=null)
 Used in bottomLinks() to eliminate repetitive code.
 processNavlinkForDocument ($navlink, $idPrefix= 'cb-')
 Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use.
 quickBar ()
 Compute the sidebar.
 searchForm ($which)
 sidebarAdditions ($bar)
 Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus.
 sysLinks ()
 talkLink ()
 variantLinks ()
 Language/charset variant links for classic-style skins.

Detailed Description

Definition at line 56 of file CologneBlue.php.


Member Function Documentation

Returns:
string

Definition at line 268 of file CologneBlue.php.

References $s, data, QuickTemplate\getSkin(), href, otherLanguages(), pageTitleLinks(), php, and wfMessage().

Referenced by execute().

Main function, used by classes that subclass QuickTemplate to show the actual HTML output.

Reimplemented from QuickTemplate.

Definition at line 57 of file CologneBlue.php.

References afterContent(), beforeContent(), QuickTemplate\html(), BaseTemplate\printTrail(), wfRestoreWarnings(), and wfSuppressWarnings().

CologneBlueTemplate::processBottomLink ( key,
navlink,
message = null 
)

Used in bottomLinks() to eliminate repetitive code.

Parameters:
$keystring Key to be passed to makeListItem()
$navlinkarray Navlink suitable for processNavlinkForDocument()
$messagestring Key of the message to use in place of standard text
Returns:
string

Definition at line 130 of file CologneBlue.php.

References $key, array(), BaseTemplate\makeListItem(), processNavlinkForDocument(), and wfMessage().

Referenced by bottomLinks(), and talkLink().

CologneBlueTemplate::processNavlinkForDocument ( navlink,
idPrefix = 'cb-' 
)

Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use.

In particular, this modifies the ids and removes the accesskeys. This is necessary to be able to use the same navlink twice, e.g. in sidebar and in footer.

Parameters:
$navlinkarray Navigational link generated by SkinTemplate
$idPrefixmixed Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'.

Definition at line 249 of file CologneBlue.php.

Referenced by processBottomLink().

Compute the sidebar.

Access:
private
Returns:
string

Definition at line 443 of file CologneBlue.php.

References $key, $link, $s, array(), as, data, Sanitizer\escapeId(), BaseTemplate\getToolbox(), BaseTemplate\makeListItem(), searchForm(), sidebarAdditions(), and wfMessage().

Referenced by afterContent().

Parameters:
$labelstring
Returns:
string

Definition at line 535 of file CologneBlue.php.

References $s, array(), data, QuickTemplate\getSkin(), global, BaseTemplate\makeSearchButton(), BaseTemplate\makeSearchInput(), and wfMessage().

Referenced by afterContent(), and quickBar().

Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus.

Parameters:
$barsidebar data
Returns:
array modified sidebar data

Definition at line 399 of file CologneBlue.php.

References $key, array(), as, data, and BaseTemplate\getPersonalTools().

Referenced by quickBar().

Language/charset variant links for classic-style skins.

Returns:
string

Definition at line 75 of file CologneBlue.php.

References $key, $link, $s, array(), as, data, QuickTemplate\getSkin(), and BaseTemplate\makeListItem().

Referenced by afterContent().


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