php - zf2 repopulate form with filtered values -


I went from zf1 to zf2 a few weeks ago and when I am creating a form, I am confused. Is there any alternative that the form gets value from the form after filtered to be repatriated?

What do you want:

  $ request = $ this - & Gt; GetRequest (); If ($ request-> ispost ()) {$ form-> SetData ($ request-> getPost ()); If ($ form-> isValid ()) {$ filteredData = $ form-> GetData (); }}    

Comments

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -