$this->paginate() will grab all records based on your controllers
$paginate property.
$this->read() will update the $data property in your model with data
based on ID, and then return the $data.
Which are you trying to retrieve?
Why not just do $this->Category->find('list')?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---