Good afternoon everyone!
I've been looking online to see some examples of how to use pagination
with 1.2, in addition to viewing the API. I haven't found all that
much and have arrived at a dead end.
Two questions that I have are:
1 - Anyone have any good reference links to show how to use pagination
properly using 1.2's codebase?
2 - Is it possible to paginate the custom queries? To explain, all of
the queries that are being used are hand-written -- ie. from within a
controller, $this->someModel->someMethod($someId)... where in
someModel, the method would be someMethod($id) { $result = $this-
>query("SELECT * FROM sometable WHERE id = $id"); ..... etc }; that is
a very basic, probably not-even-used type method, but hopefully it can
give you an idea. Is it possible to paginate those results using
1.2's implicit pagination?
Thanks to everyone who makes an effort to help.
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---