Hi,
I have this array:
Array
(
[240] => Array
(
[Member] => Array
(
[id] => 112
)
[Payment] => Array
(
[date] => 0712
)
)
(
[240] => Array
(
[Member] => Array
(
[id] => 112
)
[Payment] => Array
(
[date] => 0712
)
)
I want to use the set::sort function to sort first for Member.id ASC and then for Payment.ASC
Can please someone explain me how I need to write the set::sort syntax?
I never used it before and quite unsure how it has to be done.
Thanks!!
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment