MediaWiki
REL1_22
|
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. | |
get ($name, $default=null) | |
Gets the template data requested. | |
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 1313 of file SkinTemplate.php.
QuickTemplate::execute | ( | ) | [abstract] |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
Reimplemented in VectorTemplate, MonoBookTemplate, ModernTemplate, CologneBlueTemplate, UsercreateTemplate, and UserloginTemplate.
QuickTemplate::get | ( | $ | name, |
$ | default = null |
||
) |
Gets the template data requested.
string | $name | Key for the data |
mixed | $default | Optional default (or null) |
Definition at line 1338 of file SkinTemplate.php.
Get the Skin object related to this object.
Definition at line 1438 of file SkinTemplate.php.
References data.
Referenced by CologneBlueTemplate\afterContent(), CologneBlueTemplate\beforeContent(), CologneBlueTemplate\bottomLinks(), ModernTemplate\execute(), MonoBookTemplate\execute(), VectorTemplate\execute(), BaseTemplate\getMsg(), CologneBlueTemplate\otherLanguages(), CologneBlueTemplate\pageTitleLinks(), BaseTemplate\printTrail(), VectorTemplate\renderNavigation(), CologneBlueTemplate\searchForm(), CologneBlueTemplate\sysLinks(), CologneBlueTemplate\talkLink(), and CologneBlueTemplate\variantLinks().
QuickTemplate::haveData | ( | $ | str | ) |
Definition at line 1419 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::haveMsg | ( | $ | str | ) |
QuickTemplate::html | ( | $ | str | ) |
Definition at line 1386 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), CologneBlueTemplate\execute(), ModernTemplate\execute(), MonoBookTemplate\execute(), VectorTemplate\execute(), MonoBookTemplate\languageBox(), BaseTemplate\printTrail(), VectorTemplate\renderNavigation(), and VectorTemplate\renderPortal().
QuickTemplate::jstext | ( | $ | str | ) |
Definition at line 1378 of file SkinTemplate.php.
References data, Xml\escapeJsString(), and wfDeprecated().
QuickTemplate::msg | ( | $ | str | ) |
QuickTemplate::msgHtml | ( | $ | str | ) |
QuickTemplate::msgWiki | ( | $ | str | ) |
An ugly, ugly hack.
Reimplemented in BaseTemplate.
Definition at line 1408 of file SkinTemplate.php.
QuickTemplate::set | ( | $ | name, |
$ | value | ||
) |
Sets the value $value to $name.
$name | |
$value |
Definition at line 1327 of file SkinTemplate.php.
QuickTemplate::setRef | ( | $ | name, |
&$ | value | ||
) |
$name | |
$value |
Definition at line 1350 of file SkinTemplate.php.
QuickTemplate::setTranslator | ( | &$ | t | ) |
QuickTemplate::text | ( | $ | str | ) |
Definition at line 1370 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), ModernTemplate\execute(), BaseTemplate\getSidebar(), BaseTemplate\makeSearchInput(), and CologneBlueTemplate\sysLinks().