Disabling Output filters
| From: | Ernesto Baschny | Date: | Fri, 07 Feb 2003 17:50:56 +0000 |
| Subject: | Disabling Output filters | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7577@lists.php.net to get a copy of this message | ||
Hi!
I have some nested templates and would like only to have the
outputfilter to apply to the final resulting output.
To do that I would like to have a way to (temporarily) switch off
outputfilters, something like $smarty->disable_outputfilters() and
a corresponding $smarty->enable_outputfilters(). That way I don't
have to unregister before and register them again afterwards, a
not so trivial task, as I have no (documented) way of knowing which
filters are currently loaded.
Or is there some way of doing that already?
Thanks! :)
Ernesto