There is no other way?? :-/ This wont work for me since $res object will be far more complicated (this is just a simple example) and I have no intention to iterate thru 4-5 levels (thats just silly)..
Jake McGraw wrote: > > Assuming it's Iterable, if not, use type casting first: > > $res = (array) $res; > > - jake > > On Tue, Dec 22, 2009 at 4:46 PM, Jake McGraw <[email protected]> wrote: >> foreach($res as $field => $value) { >> $this->view->{$field} = $value; >> } >> > -- View this message in context: http://n4.nabble.com/AjaxContent-tp977365p977829.html Sent from the Zend Framework mailing list archive at Nabble.com.
