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++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -