Re: [SMARTY] Pre-, post-, and output filters
| From: | Andrei Zmievski | Date: | Tue, 16 Apr 2002 13:17:11 +0000 |
| Subject: | Re: [SMARTY] Pre-, post-, and output filters | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3768@lists.php.net to get a copy of this message | ||
On Tue, 16 Apr 2002, Ivo Jansch wrote:
> >Thoughts?
>
> I think the load_filter method is a good one.
What about load_plugin() method? Like I said, I don't see a need for it
now, but if we get another type of plugin in the future that can't be
loaded by template itself, then it might be useful.
> Perhaps you can also make the $type param optional, so calling
> load_filter without any parameter will load every available filter (so
> people currently relying on the automatic behaviour don't have to bother
> filling the autoload_filters.
Right.
-Andrei
"When I get a little money, I buy books;
and if any is left I buy food and clothes." -- Erasmus