1 |
<?xml version="1.0" ?> |
2 |
|
3 |
<SimpleTemplate> |
4 |
<options override="yes"> |
5 |
<delimiter begin="[" end="]"/> |
6 |
<autoBraces value="true"/> |
7 |
<locale value="en"/> |
8 |
|
9 |
<cache> |
10 |
<time value="10" unit="minutes"/> |
11 |
</cache> |
12 |
|
13 |
</options> |
14 |
|
15 |
|
16 |
|
17 |
|
18 |
<!-- |
19 |
|
20 |
!!!!!!! |
21 |
from here |
22 |
this section is not implemented yet |
23 |
only planned !!!!!!! |
24 |
|
25 |
--> |
26 |
|
27 |
<!-- preFilter - register any pre filter here |
28 |
override - ???? |
29 |
registerOnlyOnce - yes or no, this takes care of not registering one filter multiple times |
30 |
it's just not to loose performance |
31 |
inheritOptions - this inherits the options from the SimpleTemplate object automatically |
32 |
--> |
33 |
<preFilter override="no" |
34 |
registerOnlyOnce="yes" |
35 |
inheritOptions="yes"> |
36 |
<register function="removeHtmlComments" object="tplFilter" /> |
37 |
<register function="removeCStyleComments" object="tplFilter" /> |
38 |
<register function="addIfBeforeForeach" object="tplFilter"> |
39 |
<options inherit="SimpleTemplate ????"> |
40 |
<option beginDelimiter="{" endDelimiter="}" /> |
41 |
</options> |
42 |
</register> |
43 |
|
44 |
<!-- unregister - this prevents from calling the filter given in function, |
45 |
no matter from which object/class |
46 |
--> |
47 |
<unregister function="xxx" /> |
48 |
|
49 |
</preFilter> |
50 |
|
51 |
</SimpleTemplate> |