php - Controller dispatch error in Zend framework 2 -
I am returning Jason reaction to Zend controller
this is my code < P> Controller code toJsonModel function Feedback The first and second print shows the correct value, but when I try to display the wrong value and "capture to", "termination" and "children" , Then after getting value from JasonModel. I do not know why this is giving me wrong message. Can someone guide me on the right path and tell me what is the problem? Thanks in advance Edit I'm adding a new screenshot to display the full message. Error :
get public function () {$ result = // Calling respond to other functions and array prints ("Before calling Jason Model Value in controller "); Print_r ($ result); $ Temp = $ this- & gt; ToJsonModel ($ results); Var_dump ($ temp); Return $ temporary; {$ Data = array ()} {$ data ['requestId']
public function Jason Model = $ This- & gt; GetHeader ('RequestId'); Print ("before returning to the value controller"); Print_r ($ data); Return new JasonModal ($ data); }
Comments
Post a Comment