Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * Smarty Resource Plugin |
---|
4 | * |
---|
5 | * @package Smarty |
---|
6 | * @subpackage TemplateResources |
---|
7 | * @author Rodney Rehm |
---|
8 | */ |
---|
9 | |
---|
10 | /** |
---|
11 | * Smarty Resource Plugin |
---|
12 | * |
---|
13 | * Base implementation for resource plugins that don't use the compiler |
---|
14 | * |
---|
15 | * @package Smarty |
---|
16 | * @subpackage TemplateResources |
---|
17 | */ |
---|
18 | abstract class Smarty_Resource_Uncompiled extends Smarty_Resource { |
---|
19 | |
---|
20 | /** |
---|
21 | * Render and output the template (without using the compiler) |
---|
22 | * |
---|
23 | * @param Smarty_Template_Source $source source object |
---|
24 | * @param Smarty_Internal_Template $_template template object |
---|
25 | * @throws SmartyException on failure |
---|
26 | */ |
---|
27 | public abstract function renderUncompiled(Smarty_Template_Source $source, Smarty_Internal_Template $_template); |
---|
28 | |
---|
29 | /** |
---|
30 | * populate compiled object with compiled filepath |
---|
31 | * |
---|
32 | * @param Smarty_Template_Compiled $compiled compiled object |
---|
33 | * @param Smarty_Internal_Template $_template template object (is ignored) |
---|
34 | */ |
---|
35 | public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template) |
---|
36 | { |
---|
37 | $compiled->filepath = false; |
---|
38 | $compiled->timestamp = false; |
---|
39 | $compiled->exists = false; |
---|
40 | } |
---|
41 | |
---|
42 | } |
---|
43 | |
---|
44 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.