Hi Hans,

I also thought about chaining it in an array. The problem or the reason why I 
didn't do it was that chaining might not always work that simple. E.g. in cases 
were the first filter does something what would make the 2nd filter not work. 
In that case you would need to come up with some code that replaces both 
filters properly. So I rather would let people think about how their filter 
would work in combination which would of course mean they implement always 
their own again.

For me it doesn't really matter how we do it. Can we have some more votes on it?

Best regards,
Björn Dieding
 

Content & Commerce made easy
GMT +01:00 Hannover, Germany
 
Björn Dieding
         
Phone: +49 (511) 5904576
Mobile: +49 (151) 12169868
 
Email: [EMAIL PROTECTED] 
PayPal: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
YIM: bdieding
AIM: BjoernDieding
ICQ: 176927179
SKYPE: BjoernDieding

> -----Original Message-----
> From: Hans Melis [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2008 7:08 PM
> To: Björn Dieding
> Cc: eZ SDK
> Subject: Re: [sdk-svn] "[Commit: Trunk]" 22074 - in /trunk:
> doc/changelogs/4.1/unstable/CHANGELOG-4.0.0-to-4.1.0alpha1
> doc/features/4.1/output_filter.txt index.php settings/site.ini
> 
> Hi Björn
> 
> Björn Dieding wrote:
> > Author: xrow
> > Date: Mon Jul  7 18:10:12 2008
> > New Revision: 22074
> >
> > Log:
> > - Implemented enhancement: Ability to filter all rendered output
> >
> 
> First of all, thanks for adding this. I can think of a few cases where
> this can be useful for us.
> 
> But I have a small suggestion ;-) If you make the ini setting an array
> and put a foreach in the code, you have support for chaining output
> filters. I think that can also be useful in some cases and removes the
> need to combine two filter functions in a single method. What do you
> think?
> 
> Regards,
> Hans

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to