[Agavi-Users] Export Array of Arrays from a Validator

4 views
Skip to first unread message

Michal Charemza

unread,
Oct 19, 2009, 3:58:34 PM10/19/09
to Agavi Users Mailing List
Hi,

I'm trying to export an array of arrays from a validator (taking an
array of numerical IDs and exporting an array of records from a
database).

However, somehow the first element of the array of arrays always seems
to turn into an empty array. For example, if in my validator I have:

$this->export(array(array('blah'=>'first'), array('blah'=>'second'),
array('blah'=>'third')));

And then in my action I print out the array, the array with the value
"first" is shown as empty, by the "second" and "third" arrays show
fine. Could this be a bug?

Michal.

_______________________________________________
users mailing list
us...@lists.agavi.org
http://lists.agavi.org/mailman/listinfo/users

David Zülke

unread,
Dec 3, 2009, 4:31:34 PM12/3/09
to Agavi Users Mailing List
Reply all
Reply to author
Forward
0 new messages