On 02-10-2008 at 19:15:47 a b <[EMAIL PROTECTED]> wrote:
How to add two or more post/pre filters to the template? _prefilter is not an array, so just last filter is executed.
class MyBunchOfFilters implements PHPTAL_Filter { function filter($code) { foreach($this->myfilters as $f) $code = $f->filter($code); return $code; } } -- regards, Kornel _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal