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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -