Public Member Functions | |
| SmartyTemplateRenderer ($basetemplate=null, $directories=null, $mode=null) | |
| Constructor for a new SmartyTemplateRenderer instance. | |
| render ($mode=null, $params=null) | |
| Renders the current instance. | |
Definition at line 30 of file smartytemplaterenderer.lib.php.
| SmartyTemplateRenderer::SmartyTemplateRenderer | ( | $ | basetemplate = null, |
|
| $ | directories = null, |
|||
| $ | mode = null | |||
| ) |
Constructor for a new SmartyTemplateRenderer instance.
| $basetemplate | Template name (optional, default is null) | |
| $directories | Directories to use (optional, see SmartyTemplate documentation for more information) | |
| $mode | Default render mode (optional, default is null) |
Definition at line 41 of file smartytemplaterenderer.lib.php.
| SmartyTemplateRenderer::render | ( | $ | mode = null, |
|
| $ | params = null | |||
| ) |
Renders the current instance.
The $mode parameter can be used to specify which render mode should be used. First, an attempt is made to use a template. If this fails, a render method is called.
| $mode | A string denoting the render mode to use (optional). | |
| $params | Additional parameters can be specified, these will be passed unchanged to the render methods. |
Definition at line 80 of file smartytemplaterenderer.lib.php.
1.5.9