Re: [SMARTY-GENERAL] What are the postfilters for?

From: Date: Mon, 08 Apr 2002 15:43:15 +0000
Subject: Re: [SMARTY-GENERAL] What are the postfilters for?
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3560@lists.php.net to get a copy of this message
On Mon, 08 Apr 2002, Monte Ohrt wrote: > The problem I see is that we cannot handle filters on the _output_ of > the templates via plugins. For instance, I have a plugin that cleans up > whitespace in the document before it goes to the browser. This would be > better applied to the template output instead of the PHP script itself > so that it covers variable values, etc. However, I cannot do this with a > plugin, I must extend the Smarty class as Andrei shows here. Therefore I > cannot offer a drop-in solution for proper white space cleaning. It > would be nice to be able to offer functionality like this as a plugin > instead of requiring class extentions. Well, come up with a name for this sort of plugin and I will implement it. -Andrei * A feature is a bug with seniority. *

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