MediaWiki
REL1_20
|
Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7. More...
Public Member Functions | |
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. | |
QuickTemplate () | |
Constructor. | |
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 1224 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, UsercreateTemplate, and UserloginTemplate.
Get the Skin object related to this object.
Definition at line 1332 of file SkinTemplate.php.
Referenced by LegacyTemplate\bottomLinks(), LegacyTemplate\commentLink(), LegacyTemplate\deleteThisPage(), StandardTemplate\doAfterContent(), CologneBlueTemplate\doAfterContent(), NostalgiaTemplate\doAfterContent(), NostalgiaTemplate\doBeforeContent(), CologneBlueTemplate\doBeforeContent(), LegacyTemplate\doBeforeContent(), LegacyTemplate\editThisPage(), LegacyTemplate\emailUserLink(), ModernTemplate\execute(), MonoBookTemplate\execute(), VectorTemplate\execute(), LegacyTemplate\extensionTabLinks(), BaseTemplate\getMsg(), LegacyTemplate\historyLink(), LegacyTemplate\moveThisPage(), LegacyTemplate\nameAndLogin(), LegacyTemplate\pageSubtitle(), LegacyTemplate\pageTitleLinks(), LegacyTemplate\printableLink(), BaseTemplate\printTrail(), LegacyTemplate\protectThisPage(), StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), VectorTemplate\renderNavigation(), LegacyTemplate\searchForm(), CologneBlueTemplate\searchForm(), CologneBlueTemplate\sysLinks(), LegacyTemplate\talkLink(), NostalgiaTemplate\topLinks(), LegacyTemplate\topLinks(), LegacyTemplate\userContribsLink(), LegacyTemplate\variantLinks(), LegacyTemplate\watchPageLinksLink(), LegacyTemplate\watchThisPage(), and LegacyTemplate\whatLinksHere().
QuickTemplate::haveData | ( | $ | str | ) |
Definition at line 1313 of file SkinTemplate.php.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::haveMsg | ( | $ | str | ) |
QuickTemplate::html | ( | $ | str | ) |
Definition at line 1280 of file SkinTemplate.php.
References echo.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), ModernTemplate\execute(), MonoBookTemplate\execute(), LegacyTemplate\execute(), VectorTemplate\execute(), MonoBookTemplate\languageBox(), BaseTemplate\printTrail(), VectorTemplate\renderNavigation(), and VectorTemplate\renderPortal().
QuickTemplate::jstext | ( | $ | str | ) |
Definition at line 1273 of file SkinTemplate.php.
References echo, and Xml\escapeJsString().
QuickTemplate::msg | ( | $ | str | ) |
Reimplemented in BaseTemplate.
Definition at line 1287 of file SkinTemplate.php.
References echo.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::msgHtml | ( | $ | str | ) |
Reimplemented in BaseTemplate.
Definition at line 1294 of file SkinTemplate.php.
References echo.
Referenced by UsercreateTemplate\execute().
QuickTemplate::msgWiki | ( | $ | str | ) |
An ugly, ugly hack.
Reimplemented in BaseTemplate.
Definition at line 1302 of file SkinTemplate.php.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
Constructor.
Definition at line 1228 of file SkinTemplate.php.
QuickTemplate::set | ( | $ | name, |
$ | value | ||
) |
Sets the value $value to $name.
$name | |
$value |
Definition at line 1238 of file SkinTemplate.php.
References $value.
QuickTemplate::setRef | ( | $ | name, |
&$ | value | ||
) |
QuickTemplate::setTranslator | ( | &$ | t | ) |
QuickTemplate::text | ( | $ | str | ) |
Definition at line 1266 of file SkinTemplate.php.
References echo.
Referenced by LegacyTemplate\commentLink(), CologneBlueTemplate\doAfterContent(), UsercreateTemplate\execute(), ModernTemplate\execute(), BaseTemplate\getSidebar(), LegacyTemplate\moveThisPage(), LegacyTemplate\nameAndLogin(), LegacyTemplate\pageTitleLinks(), CologneBlueTemplate\quickBar(), LegacyTemplate\specialPagesList(), CologneBlueTemplate\sysLinks(), and LegacyTemplate\watchPageLinksLink().