MediaWiki REL1_30
|
QuickTemplate class for Vector skin. More...
Public Member Functions | |
execute () | |
Outputs the entire contents of the (X)HTML page. | |
makeLink ( $key, $item, $options=[]) | |
@inheritDoc | |
makeListItem ( $key, $item, $options=[]) | |
@inheritDoc | |
Public Member Functions inherited from BaseTemplate | |
getFooterIcons ( $option=null) | |
Returns an array of footer icons filtered down by options relevant to how the skin wishes to display them. | |
getFooterLinks ( $option=null) | |
Returns an array of footerlinks trimmed down to only those footer links that are valid. | |
getIndicators () | |
Get the suggested HTML for page status indicators: icons (or short text snippets) usually displayed in the top-right corner of the page, outside of the main content. | |
getMsg ( $name) | |
Get a Message object with its context set. | |
getPersonalTools () | |
Create an array of personal tools items from the data in the quicktemplate stored by SkinTemplate. | |
getSidebar ( $options=[]) | |
getToolbox () | |
Create an array of common toolbox items from the data in the quicktemplate stored by SkinTemplate. | |
getTrail () | |
Get the basic end-page trail including bottomscripts, reporttime, and debug stuff. | |
makeSearchButton ( $mode, $attrs=[]) | |
makeSearchInput ( $attrs=[]) | |
msg ( $str) | |
msgHtml ( $str) | |
msgWiki ( $str) | |
An ugly, ugly hack. | |
printTrail () | |
Output getTrail. | |
Public Member Functions inherited from QuickTemplate | |
__construct (Config $config=null) | |
extend ( $name, $value) | |
extends the value of data with name $name with the value $value | |
get ( $name, $default=null) | |
Gets the template data requested. | |
getHTML () | |
Fetch the output of a QuickTemplate and return it. | |
getSkin () | |
Get the Skin object related to this object. | |
haveData ( $str) | |
haveMsg ( $str) | |
html ( $str) | |
set ( $name, $value) | |
Sets the value $value to $name. | |
setRef ( $name, &$value) | |
setTranslator (&$t) | |
text ( $str) | |
Protected Member Functions | |
renderNavigation ( $elements) | |
Render one or more navigations elements by name, automatically reveresed when UI is in RTL mode. | |
renderPortal ( $name, $content, $msg=null, $hook=null) | |
renderPortals ( $portals) | |
Render a series of portals. | |
Protected Member Functions inherited from BaseTemplate | |
getAfterPortlet ( $name) | |
Allows extensions to hook into known portlets and add stuff to them. | |
getClear () | |
Get a div with the core visualClear class, for clearing floats. | |
getFooter ( $iconStyle='icononly', $linkStyle='flat') | |
Renderer for getFooterIcons and getFooterLinks. | |
renderAfterPortlet ( $name) | |
Additional Inherited Members | |
Public Attributes inherited from QuickTemplate | |
array | $data |
MediaWikiI18N | $translator |
Protected Attributes inherited from QuickTemplate | |
$config | |
QuickTemplate class for Vector skin.
Definition at line 29 of file VectorTemplate.php.
VectorTemplate::execute | ( | ) |
Outputs the entire contents of the (X)HTML page.
Reimplemented from QuickTemplate.
Definition at line 35 of file VectorTemplate.php.
References $link, BaseTemplate\getFooterIcons(), BaseTemplate\getFooterLinks(), BaseTemplate\getIndicators(), QuickTemplate\getSkin(), href, QuickTemplate\html(), BaseTemplate\msg(), BaseTemplate\printTrail(), renderNavigation(), renderPortals(), style, and Linker\tooltipAndAccesskeyAttribs().
VectorTemplate::makeLink | ( | $key, | |
$item, | |||
$options = [] ) |
VectorTemplate::makeListItem | ( | $key, | |
$item, | |||
$options = [] ) |
@inheritDoc
Reimplemented from BaseTemplate.
Definition at line 531 of file VectorTemplate.php.
References $options.
Referenced by renderNavigation(), and renderPortal().
|
protected |
Render one or more navigations elements by name, automatically reveresed when UI is in RTL mode.
array | $elements |
Definition at line 316 of file VectorTemplate.php.
References form, BaseTemplate\getMsg(), BaseTemplate\getPersonalTools(), QuickTemplate\getSkin(), QuickTemplate\html(), makeListItem(), BaseTemplate\makeSearchButton(), BaseTemplate\makeSearchInput(), and BaseTemplate\msg().
Referenced by execute().
|
protected |
string | $name | |
array | $content | |
null | string | $msg | |
null | string | array | $hook |
Definition at line 265 of file VectorTemplate.php.
References $name, QuickTemplate\html(), makeListItem(), BaseTemplate\renderAfterPortlet(), Linker\tooltip(), and wfMessage().
Referenced by renderPortals().
|
protected |
Render a series of portals.
array | $portals |
Definition at line 221 of file VectorTemplate.php.
References BaseTemplate\getToolbox(), renderPortal(), and string.
Referenced by execute().