XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
display () | |
fetch () | |
Protected Member Functions | |
disableLogger () | |
init () | |
render () | |
setTemplate ($template= '') | |
Protected Attributes | |
$tpl | |
Private Attributes | |
$template | |
Definition at line 27 of file AbstractTemplate.php.
Xmf\Template\AbstractTemplate::__construct | ( | ) |
Constructor
Definition at line 42 of file AbstractTemplate.php.
References Xmf\Template\AbstractTemplate\init().
|
protected |
Use this method to disable XoopsLogger
Definition at line 80 of file AbstractTemplate.php.
References Xoops\getInstance().
Xmf\Template\AbstractTemplate::display | ( | ) |
Echo/Display the rendered template
Definition at line 102 of file AbstractTemplate.php.
References Xmf\Template\AbstractTemplate\fetch().
Xmf\Template\AbstractTemplate::fetch | ( | ) |
Returns the rendered template
Definition at line 90 of file AbstractTemplate.php.
References Xmf\Template\AbstractTemplate\render().
Referenced by Xmf\Template\AbstractTemplate\display().
|
abstractprotected |
Classes must implement this method instead of using constructors
Referenced by Xmf\Template\AbstractTemplate\__construct().
|
abstractprotected |
Classes must implement this method for assigning content to $_tpl
Referenced by Xmf\Template\AbstractTemplate\fetch().
|
protected |
Used in init methods to set the template used by $_tpl
string | $template | Path to the template file |
Definition at line 70 of file AbstractTemplate.php.
References Xmf\Template\AbstractTemplate\$template.
Referenced by Xmf\Template\Breadcrumb\init(), Xmf\Template\PrintContent\init(), and Xmf\Template\Feed\init().
|
private |
Definition at line 37 of file AbstractTemplate.php.
Referenced by Xmf\Template\AbstractTemplate\setTemplate().
|
protected |
Definition at line 32 of file AbstractTemplate.php.