1 | <?php |
||
13 | class SmartyEngine extends Smarty implements TemplateEngine { |
||
14 | |||
15 | /** |
||
16 | * Create the Smarty engine, set the template- and cache directory; and add the plugin directory. |
||
17 | */ |
||
18 | public function __construct() { |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function renderTemplate(SplFileInfo $template) { |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function addTemplateVariables(array $variables) { |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function clearTemplateVariables() { |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function addTemplateVariable($name, $value) { |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function clearTemplateVariable($variable) { |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function getTemplateExtension() { |
||
81 | } |
||
82 |