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: * Base implementation for resource plugins that don't compile cache
13: *
14: * @package Smarty
15: * @subpackage TemplateResources
16: */
17: abstract class Smarty_Resource_Recompiled extends Smarty_Resource
18: {
19: /**
20: * populate Compiled Object with compiled filepath
21: *
22: * @param Smarty_Template_Compiled $compiled compiled object
23: * @param Smarty_Internal_Template $_template template object
24: *
25: * @return void
26: */
27: public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
28: {
29: $compiled->filepath = false;
30: $compiled->timestamp = false;
31: $compiled->exists = false;
32: }
33: }
34: