MediaWiki
master
|
Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7. More...
Public Member Functions | |
__construct () | |
Constructor. | |
execute () | |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output. | |
getSkin () | |
Get the Skin object related to this object. | |
haveData ($str) | |
haveMsg ($str) | |
html ($str) | |
jstext ($str) | |
msg ($str) | |
msgHtml ($str) | |
msgWiki ($str) | |
An ugly, ugly hack. | |
set ($name, $value) | |
Sets the value $value to $name. | |
setRef ($name, &$value) | |
setTranslator (&$t) | |
text ($str) |
Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7.
Definition at line 1250 of file SkinTemplate.php.
QuickTemplate::execute | ( | ) | [abstract] |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
Reimplemented in VectorTemplate, LegacyTemplate, MonoBookTemplate, ModernTemplate, CologneBlueTemplate, UsercreateTemplate, and UserloginTemplate.
Get the Skin object related to this object.
Definition at line 1358 of file SkinTemplate.php.
References data.
Referenced by CologneBlueTemplate\afterContent(), CologneBlueTemplate\beforeContent(), CologneBlueTemplate\bottomLinks(), LegacyTemplate\bottomLinks(), LegacyTemplate\commentLink(), LegacyTemplate\deleteThisPage(), StandardTemplate\doAfterContent(), NostalgiaTemplate\doAfterContent(), NostalgiaTemplate\doBeforeContent(), LegacyTemplate\doBeforeContent(), LegacyTemplate\editThisPage(), LegacyTemplate\emailUserLink(), ModernTemplate\execute(), MonoBookTemplate\execute(), VectorTemplate\execute(), LegacyTemplate\extensionTabLinks(), BaseTemplate\getMsg(), LegacyTemplate\historyLink(), LegacyTemplate\moveThisPage(), LegacyTemplate\nameAndLogin(), CologneBlueTemplate\otherLanguages(), LegacyTemplate\pageSubtitle(), CologneBlueTemplate\pageTitleLinks(), LegacyTemplate\pageTitleLinks(), LegacyTemplate\printableLink(), BaseTemplate\printTrail(), LegacyTemplate\protectThisPage(), StandardTemplate\quickBar(), VectorTemplate\renderNavigation(), LegacyTemplate\searchForm(), CologneBlueTemplate\searchForm(), CologneBlueTemplate\sysLinks(), CologneBlueTemplate\talkLink(), LegacyTemplate\talkLink(), NostalgiaTemplate\topLinks(), LegacyTemplate\topLinks(), LegacyTemplate\userContribsLink(), CologneBlueTemplate\variantLinks(), LegacyTemplate\variantLinks(), LegacyTemplate\watchPageLinksLink(), LegacyTemplate\watchThisPage(), and LegacyTemplate\whatLinksHere().
QuickTemplate::haveData | ( | $ | str | ) |
Definition at line 1339 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::haveMsg | ( | $ | str | ) |
QuickTemplate::html | ( | $ | str | ) |
Definition at line 1306 of file SkinTemplate.php.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), CologneBlueTemplate\execute(), ModernTemplate\execute(), MonoBookTemplate\execute(), LegacyTemplate\execute(), VectorTemplate\execute(), MonoBookTemplate\languageBox(), BaseTemplate\printTrail(), VectorTemplate\renderNavigation(), and VectorTemplate\renderPortal().
QuickTemplate::jstext | ( | $ | str | ) |
Definition at line 1299 of file SkinTemplate.php.
References data, echo, and Xml\escapeJsString().
QuickTemplate::msg | ( | $ | str | ) |
Reimplemented in BaseTemplate.
Definition at line 1313 of file SkinTemplate.php.
References echo.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::msgHtml | ( | $ | str | ) |
Reimplemented in BaseTemplate.
Definition at line 1320 of file SkinTemplate.php.
References echo.
Referenced by UsercreateTemplate\execute().
QuickTemplate::msgWiki | ( | $ | str | ) |
An ugly, ugly hack.
Reimplemented in BaseTemplate.
Definition at line 1328 of file SkinTemplate.php.
References $wgOut, echo, and global.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::set | ( | $ | name, |
$ | value | ||
) |
Sets the value $value to $name.
$name | |
$value |
Definition at line 1264 of file SkinTemplate.php.
QuickTemplate::setRef | ( | $ | name, |
&$ | value | ||
) |
$name | |
$value |
Definition at line 1272 of file SkinTemplate.php.
QuickTemplate::setTranslator | ( | &$ | t | ) |
QuickTemplate::text | ( | $ | str | ) |
Definition at line 1292 of file SkinTemplate.php.
Referenced by LegacyTemplate\commentLink(), UsercreateTemplate\execute(), ModernTemplate\execute(), BaseTemplate\getSidebar(), LegacyTemplate\moveThisPage(), LegacyTemplate\nameAndLogin(), LegacyTemplate\pageTitleLinks(), LegacyTemplate\specialPagesList(), CologneBlueTemplate\sysLinks(), and LegacyTemplate\watchPageLinksLink().