QuickTemplate subclass for Vector.
More...
|
| __construct (Config $config, TemplateParser $templateParser, bool $isLegacy) |
|
| execute () |
| Renders the entire contents of the HTML page.
|
|
| 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,... $params) |
| Get a Message object with its context set.
|
|
| getPersonalTools () |
|
| getToolbox () |
| Create an array of common toolbox items from the data in the quicktemplate stored by SkinTemplate and items added by hook to the 'toolbox' section.
|
|
| getTrail () |
| Get the basic end-page trail including bottomscripts, reporttime, and debug stuff.
|
|
| makeListItem ( $key, $item, $options=[]) |
|
| msg ( $str) |
|
| __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.
|
|
| html ( $str) |
|
| set ( $name, $value) |
| Sets the value $value to $name.
|
|
QuickTemplate subclass for Vector.
- Deprecated
- Since 1.35, duplicate class locally if its functionality is needed. Extensions or skins should extend it under no circumstances.
Definition at line 33 of file VectorTemplate.php.
◆ __construct()
◆ buildSearchProps()
VectorTemplate::buildSearchProps |
( |
| ) |
|
|
private |
◆ buildSidebar()
VectorTemplate::buildSidebar |
( |
| ) |
|
|
private |
◆ execute()
VectorTemplate::execute |
( |
| ) |
|
◆ getConfig()
VectorTemplate::getConfig |
( |
| ) |
|
|
private |
◆ getFooterData()
VectorTemplate::getFooterData |
( |
| ) |
|
|
private |
Get rows that make up the footer.
- Returns
- array for use in Mustache template describing the footer elements.
Definition at line 201 of file VectorTemplate.php.
Referenced by getSkinData().
◆ getMenuData()
VectorTemplate::getMenuData |
( |
string | $label, |
|
|
array | $urls = [], |
|
|
int | $type = self::MENU_TYPE_DEFAULT, |
|
|
array | $options = [], |
|
|
bool | $setLabelToSelected = false ) |
|
private |
- Parameters
-
string | $label | to be used to derive the id and human readable label of the menu If the key has an entry in the constant MENU_LABEL_KEYS then that message will be used for the human readable text instead. |
array | $urls | to convert to list items stored as string in html-items key |
int | $type | of menu (optional) - a plain list (MENU_TYPE_DEFAULT), a tab (MENU_TYPE_TABS) or a dropdown (MENU_TYPE_DROPDOWN) |
array | $options | (optional) to be passed to makeListItem |
bool | $setLabelToSelected | (optional) the menu label will take the value of the selected item if found. |
- Returns
- array
Definition at line 388 of file VectorTemplate.php.
◆ getMenuProps()
VectorTemplate::getMenuProps |
( |
| ) |
|
|
private |
◆ getSkinData()
VectorTemplate::getSkinData |
( |
| ) |
|
|
private |
◆ getTemplateParser()
VectorTemplate::getTemplateParser |
( |
| ) |
|
|
protected |
◆ isSidebarVisible()
VectorTemplate::isSidebarVisible |
( |
| ) |
|
|
private |
◆ $isLegacy
bool VectorTemplate::$isLegacy |
|
private |
◆ $templateParser
Initial value:=
private const OPT_OUT_LINK_TRACKING_CODE 'vctw1'
Definition at line 62 of file VectorTemplate.php.
◆ $templateRoot
string VectorTemplate::$templateRoot |
|
private |
File name of the root (master) template without folder path and extension.
Definition at line 64 of file VectorTemplate.php.
◆ MENU_TYPE_PORTAL
const VectorTemplate::MENU_TYPE_PORTAL = 3 |
|
private |
The documentation for this class was generated from the following file: