MediaWiki
1.23.2
|
Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
execute () | |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output. More... | |
get ( $name, $default=null) | |
Gets the template data requested. More... | |
getHTML () | |
Fetch the output of a QuickTemplate and return it. More... | |
getSkin () | |
Get the Skin object related to this object. More... | |
haveData ( $str) | |
haveMsg ( $str) | |
html ( $str) | |
msg ( $str) | |
msgHtml ( $str) | |
msgWiki ( $str) | |
An ugly, ugly hack. More... | |
set ( $name, $value) | |
Sets the value $value to $name. More... | |
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 1372 of file SkinTemplate.php.
QuickTemplate::__construct | ( | ) |
|
abstract |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
Reimplemented in VectorTemplate, MonoBookTemplate, ModernTemplate, CologneBlueTemplate, UsercreateTemplate, and UserloginTemplate.
Referenced by getHTML().
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 1397 of file SkinTemplate.php.
QuickTemplate::getHTML | ( | ) |
Fetch the output of a QuickTemplate and return it.
Definition at line 1498 of file SkinTemplate.php.
QuickTemplate::getSkin | ( | ) |
Get the Skin object related to this object.
Definition at line 1488 of file SkinTemplate.php.
References data.
Referenced by CologneBlueTemplate\afterContent(), CologneBlueTemplate\beforeContent(), CologneBlueTemplate\bottomLinks(), ModernTemplate\execute(), VectorTemplate\execute(), BaseTemplate\getMsg(), CologneBlueTemplate\otherLanguages(), CologneBlueTemplate\pageTitleLinks(), BaseTemplate\printTrail(), CologneBlueTemplate\searchForm(), CologneBlueTemplate\sysLinks(), CologneBlueTemplate\talkLink(), and CologneBlueTemplate\variantLinks().
QuickTemplate::haveData | ( | $str | ) |
Definition at line 1469 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().
QuickTemplate::haveMsg | ( | $str | ) |
QuickTemplate::html | ( | $str | ) |
Definition at line 1436 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), CologneBlueTemplate\execute(), and BaseTemplate\printTrail().
QuickTemplate::msg | ( | $str | ) |
QuickTemplate::msgHtml | ( | $str | ) |
QuickTemplate::msgWiki | ( | $str | ) |
An ugly, ugly hack.
Reimplemented in BaseTemplate.
Definition at line 1458 of file SkinTemplate.php.
QuickTemplate::set | ( | $name, | |
$value | |||
) |
Sets the value $value to $name.
$name | |
$value |
Definition at line 1386 of file SkinTemplate.php.
QuickTemplate::setRef | ( | $name, | |
& | $value | ||
) |
$name | |
$value |
Definition at line 1409 of file SkinTemplate.php.
QuickTemplate::setTranslator | ( | & | $t | ) |
QuickTemplate::text | ( | $str | ) |
Definition at line 1429 of file SkinTemplate.php.
References data.
Referenced by UserloginTemplate\execute(), UsercreateTemplate\execute(), BaseTemplate\getSidebar(), BaseTemplate\makeSearchInput(), and CologneBlueTemplate\sysLinks().