MediaWiki  REL1_19
QuickTemplate Class Reference

Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7. More...

Inheritance diagram for QuickTemplate:

List of all members.

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)

Detailed Description

Generic wrapper for template functions, with interface compatible with what we use of PHPTAL 0.7.

Definition at line 1235 of file SkinTemplate.php.


Member Function Documentation

QuickTemplate::execute ( ) [abstract]

Main function, used by classes that subclass QuickTemplate to show the actual HTML output.

Reimplemented in LegacyTemplate, VectorTemplate, MonoBookTemplate, ModernTemplate, UsercreateTemplate, and UserloginTemplate.

Access:
private

Definition at line 1323 of file SkinTemplate.php.

Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().

Here is the caller graph for this function:

Access:
private
Returns:
bool

Definition at line 1332 of file SkinTemplate.php.

Access:
private

Definition at line 1284 of file SkinTemplate.php.

References echo, and Xml\escapeJsString().

Here is the call graph for this function:

QuickTemplate::msg ( str)
Access:
private

Reimplemented in BaseTemplate.

Definition at line 1298 of file SkinTemplate.php.

References echo.

Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().

Here is the caller graph for this function:

Access:
private

Reimplemented in BaseTemplate.

Definition at line 1305 of file SkinTemplate.php.

References echo.

Referenced by UsercreateTemplate\execute().

Here is the caller graph for this function:

An ugly, ugly hack.

Access:
private

Reimplemented in BaseTemplate.

Definition at line 1313 of file SkinTemplate.php.

References $wgOut, and echo.

Referenced by UserloginTemplate\execute(), and UsercreateTemplate\execute().

Here is the caller graph for this function:

Constructor.

Definition at line 1239 of file SkinTemplate.php.

QuickTemplate::set ( name,
value 
)

Sets the value $value to $name.

Parameters:
$name
$value

Definition at line 1249 of file SkinTemplate.php.

QuickTemplate::setRef ( name,
&$  value 
)
Parameters:
$name
$value

Definition at line 1257 of file SkinTemplate.php.

Parameters:
$t

Definition at line 1264 of file SkinTemplate.php.

References $t.

QuickTemplate::text ( str)
Access:
private

Definition at line 1277 of file SkinTemplate.php.

References echo.

Referenced by ModernTemplate\execute(), BaseTemplate\getSidebar(), and BaseTemplate\printTrail().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: