Ok I have found the answer: in my cakephp version there's no sort
function in the set class!
How can I sort my array otherwise? Unfortunately I CAN'T update the
cakePHP version for this specific job.

On 10 Ott, 15:25, albe <[email protected]> wrote:
> 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-cakep...
>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to