(To know what's all about, please read this: https://forum.phalcon.io/discussion/3195/stored-procedure-with-from-as-a-subquery )
I've a problem know. I had two actions: each of these return an array, wich contains many arrays. Each one of these lasts arrays has two variables inside (string and integer).
When I use the first action (only does a var_dump()
of the model's returned data), I can see that it returns data perfectly. However, with the second action, when I do a $response->setJsonContent(array(...))
, I can only retrieve, in the $.ajax()
, the integer that form part of the last array (I cannot retrieve the super array or the string variable)...
Has $response->setJsonContent(array(...))
any strange behavior that affects an array containing arrays?