Re: [SMARTY] away, output filter, out, out

From: Date: Mon, 10 Jun 2002 19:20:54 +0000
Subject: Re: [SMARTY] away, output filter, out, out
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4735@lists.php.net to get a copy of this message
On Mon, 10 Jun 2002, Eric Mueller wrote: > Hi, I'm currently using: > > $smarty->load_filter('output','trimwhitespace'); > > at the top of a common config file. In my app's architecture it'd be > preferrable to find a way to turn it off on the fly, rather than > introduce some kind of condition to the config file to control it being > loaded or not. load_filter() really is meant to be used for specific templates only. Otherwise you could use $autoload_filters() variable. -Andrei http://www.gravitonic.com/ "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth

« previous php.smarty.general (#4735) next »