Wednesday, November 5, 2008

Re: Set::extract is shuffling elements in the return array

On Wed, Nov 5, 2008 at 11:46 PM, RyOnLife <ryan.mckillen@gmail.com> wrote:
>
> Anyone else experienced this problem? How can I get the elements in array
> returned by Set::extract to be in the same order they're found in the
> multi-dimensional array?

I'm still a beginner with CakePHP, but I suppose
that the concept behind a "Set" of things does not
imply in any order.

With an analogy, the "Set" interface in Java is
called to be intrinsically "not ordered" and "not
sorted".

Best regards.

--
MARCELO DE F. ANDRADE (aka "eleKtron")
Belem, PA, Amazonia, Brazil
Linux User #221105

[gus@pará ~]# links http://pa.slackwarebrasil.org/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

No comments: