RE: pre/post filters?
| From: | Andreas Aderhold | Date: | Wed, 25 Apr 2001 12:05:43 +0000 |
| Subject: | RE: pre/post filters? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-581@lists.php.net to get a copy of this message | ||
Hi,
> This is currently called "template filters".
> Do you think there will ever be a need to filter content _after_
> compilation on the compiled templates
I don't think so. The compiled template is a finished thing that should be
simply called and run. Doing filtering on the template should be done in the
compile process. Filterin on runtime goes to the "parsed-template" direction
and that's not the idea of smarty I guess. Anyway, maybe there is a use for
post-filerting.
Andi