Hi!
I have 2 tables: projects and persons.
In my ProjectsController I have a function that shows in the view a
list of all the persons of the database. For it I have this:
 $this -> set ('persons', $this -> requestAction ('/persons/getpersons
'));

And in PersonsController:

Function getpersons () {
return $this -> Person -> findAll ();
}
This works well, but what I want is to paginate the list of persons
and I dont know how can I do it.
What have I to change or add to obtain it?
Thanks and regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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