I'm at least as dumb as everyone else, Bryce. :) Whenever you get around to coding I'll have an svn external pointing at the laboratory to grab the code ;). Look forward to reviewing and testing. Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com
----- Original Message ---- From: Bryce Lohr <[EMAIL PROTECTED]> To: Pádraic Brady <[EMAIL PROTECTED]>; Zend FW General List <fw-general@lists.zend.com> Sent: Wednesday, May 30, 2007 5:08:47 PM Subject: Re: [fw-general] Zend_Filter_Input::getEscaped() I literally busted out laughing when I read that... I'll take that as a compliment. :) I'll get back working on that in a few days (I have a beta release of my own to get through first). As always, I'm wide open to suggestions for the "dumbing down" part... ;) Regards, Bryce Lohr Pádraic Brady wrote: > Probably worth noting Bryce Lohr's proposal is now in the Laboratory but > will not make it into the framework until after 1.0.0. It's a really > powerful approach but it's needs some dumbing down for the rest of us ;). > > http://framework.zend.com/wiki/display/ZFPROP/Zend_Validate_Builder+-+Bryce+Lohr > > Pádraic Brady > http://blog.astrumfutura.com > http://www.patternsforphp.com > > > ----- Original Message ---- > From: Pádraic Brady <[EMAIL PROTECTED]> > To: Jur Jean <[EMAIL PROTECTED]> > Cc: Zend Framework General <fw-general@lists.zend.com> > Sent: Wednesday, May 30, 2007 9:29:37 AM > Subject: Re: [fw-general] Zend_Filter_Input::getEscaped() > > Hi Jur, > > I have the same preference as yourself. I'm not using the component yet > until it either reaches Core or is updated to reflect other potential > solutions. But for now you can subclass Zend_Filter_Input and override > its __get() method to change the default treatment of values to avoid > the automated escaping. > > A few other options are also available - check the proposal comments > over at: > http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Input+redesign+-+Bill+Karwin > > Pádraic > > Pádraic Brady > http://blog.astrumfutura.com > http://www.patternsforphp.com > > > ----- Original Message ---- > From: Jur Jean <[EMAIL PROTECTED]> > To: fw-general@lists.zend.com > Sent: Wednesday, May 30, 2007 9:17:49 AM > Subject: [fw-general] Zend_Filter_Input::getEscaped() > > > Why is Zend_Filter_Input::getEscaped() called by default when magic > accessing > vars? I use getUnescaped() a lot more often. > > In the view, you should use $this->escape(), the form helpers escapes > values, and when writing to my database i also don't want to escape using > this method, but use the db's escape method. > -- > View this message in context: > http://www.nabble.com/Zend_Filter_Input%3A%3AgetEscaped%28%29-tf3838924s16154.html#a10869449 > Sent from the Zend Framework mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------ > Ready for the edge of your seat? Check out tonight's top picks > <http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/> on Yahoo! TV. > > > ------------------------------------------------------------------------ > Choose the right car based on your needs. Check out Yahoo! Autos new Car > Finder tool. > <http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg-- > > > ____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469