On Sun, Jun 14, 2009 at 5:46 PM, centr0<[email protected]> wrote:
> (..)
> the view breaks after this, now i know its simply fixed my question is
> is it normal that the array structure changes when calling find('all)
> vs. find('first')?
Sure it is. In this case, there will be:
$x= $this->Model->find('all');
$y= $this->Model->find('first');
$x[0] == $y
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
http://mfandrade.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---