That is correct, Zend_Filter_Input doesnt do any encapsulation of your data. Thus you can still use:
$_POST or $this->getRequest()->getParam('foo') when using ZF's MVC.

Best,


Andries Seutens
http://andries.systray.be


Pádraic Brady schreef:
Hi Eric,

From what I recall Zend_Filter_Input left $_POST intact so you can still take raw data from that source.

Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com


----- Original Message ----
From: Eric Coleman <[EMAIL PROTECTED]>
To: Zend Framework General <[email protected]>
Sent: Wednesday, June 20, 2007 5:12:37 AM
Subject: [fw-general] No way to get invalid data from Zend_Filter_Input

While playing with a method to keep form data in sync when a validation/filtering error occurs, I realized that there is no method to get the invalid data back...

So, basically, if you submit something that fails validation, it gets nuked unless you store your own copy of $_POST. This hardly seems like the correct way to do things.

Bill, or someone, can we get a method added to Zend_Filter_Input to solve this?

Regards,
Eric


------------------------------------------------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now <http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow> (it's updated for today's economy) at Yahoo! Games.
------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 19/06/2007 13:12


--
Andries Seutens
http://andries.systray.be

Gecontroleerd op virussen door de JOJO Secure Gateway.

Reply via email to