Re: [SMARTY] Any way to unload a plugin

From: Date: Fri, 14 Feb 2003 12:07:26 +0000
Subject: Re: [SMARTY] Any way to unload a plugin
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7758@lists.php.net to get a copy of this message
On Fri, Feb 14, 2003 at 12:45:13PM +0100, Ronan PAUL wrote: > I need to use a prefilter plugin for only a part of my page (a form). > Is there a way to unload a prefilter plugin ? > > This would enable me to: > 1 - keep the part that has to be parsed by the prefilter in a separate > template > 2 - load the plugin > 3 - fetch the form template and keep the result in a variable > 4 - unload the plugin > 5 - fetch the general template (and dislay the variable in it) > > And voila. http://smarty.php.net/manual/en/api.unregister.prefilter.php ?? > Any better solution is welcome ;-) > > Ronan

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