SmartyTemplateEngine
extends Smarty
in package
Implement smarty handler
This class extends the Smarty object with some additional render and a configuration constructor It does also provide the internal rendering functions
Tags
Table of Contents
- __construct() : mixed
- construct extended index use this constructor when interacting with smarty instances
- render() : string
- Render template
Methods
__construct()
construct extended index use this constructor when interacting with smarty instances
public
__construct() : mixed
Return values
mixed —render()
Render template
public
render(string $path) : string
Render a template part without direct display
Parameters
- $path : string
-
Relative path to template
Return values
string —The parsed template rendering output