Use Set::sort
Hi,
I have to sort an array and I have found out this simple way:
http://blogs.bigfish.tv/adam/2008/03/24/sorting-with-setsort-in-cakephp-12/
Unfortunately, when I put the sorting code in my apllication's got I
got:
"Fatal error: Call to undefined method Set::sort() in C:\...
\controller.php on line 818"
Maybe the use of the Set class has to be declared... where?
Thank you in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home