Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > ee1e923b1a582c60ec43994c319fe6f3 > files > 12

php-pear-Tree-0.3.4-6.noarch.rpm

<?xml version="1.0" ?>

<SimpleTemplate>
    <options override="yes">
        <delimiter begin="[" end="]"/>
        <autoBraces value="true"/>
        <locale value="en"/>

        <cache>
            <time value="10" unit="minutes"/>
        </cache>

    </options>




<!--

    !!!!!!!
    from here
    this section is not implemented yet
    only planned !!!!!!!

-->

    <!--    preFilter - register any pre filter here
            override -          ????
            registerOnlyOnce -  yes or no, this takes care of not registering one filter multiple times
                                it's just not to loose performance
            inheritOptions -    this inherits the options from the SimpleTemplate object automatically
    -->
    <preFilter override="no"
                registerOnlyOnce="yes"
                inheritOptions="yes">
        <register function="removeHtmlComments" object="tplFilter" />
        <register function="removeCStyleComments" object="tplFilter" />
        <register function="addIfBeforeForeach" object="tplFilter">
            <options inherit="SimpleTemplate ????">
              <option beginDelimiter="{" endDelimiter="}" />
            </options>
        </register>

        <!--    unregister -    this prevents from calling the filter given in function,
                                no matter from which object/class
        -->
        <unregister function="xxx" />

    </preFilter>

</SimpleTemplate>