pre/post filters?
| From: | Monte Ohrt | Date: | Tue, 24 Apr 2001 15:53:06 +0000 |
| Subject: | pre/post filters? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-578@lists.php.net to get a copy of this message | ||
Hi,
We've added content filtering to Smarty, meaning that the template
source is run through the registered filter functions before it is
compiled (removing dreamweaver comments for example). This is currently
called "template filters". Do you think there will ever be a need to
filter content _after_ compilation on the compiled templates, or any
other time? I can't think of a reason to do that, but if so, we might
consider renaming these functions to "template prefilters" or "prefilter
functions" to accomodate that. Any thoughts on naming?
Monte
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/