1: | <?php
|
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: |
|
9: |
|
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: |
|
17: | abstract class Smarty_Resource_Uncompiled extends Smarty_Resource
|
18: | {
|
19: | |
20: | |
21: | |
22: | |
23: |
|
24: | public $uncompiled = true;
|
25: |
|
26: | |
27: | |
28: | |
29: | |
30: |
|
31: | public $hasCompiledHandler = true;
|
32: |
|
33: | |
34: | |
35: | |
36: | |
37: | |
38: |
|
39: | public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
|
40: | {
|
41: | $compiled->filepath = $_template->source->filepath;
|
42: | $compiled->timestamp = $_template->source->timestamp;
|
43: | $compiled->exists = $_template->source->exists;
|
44: | if ($_template->smarty->merge_compiled_includes || $_template->source->handler->checkTimestamps()) {
|
45: | $compiled->file_dependency[ $_template->source->uid ] =
|
46: | array($compiled->filepath, $compiled->timestamp, $_template->source->type,);
|
47: | }
|
48: | }
|
49: | }
|
50: | |