Hi, can someone explain the parameters in paginate() methods of controller (in Cakephp 1.2).
I just know about object and scope. But i dont know about the whitelist. I have this problem ... For example: Object Books :id :title :isbn :printno :total_pages Object Pages (the table will save the page and paragraph) :id :book_id foreign key to Books :language_id foreign key to language :pagenumber number :paragraph number :content text (the content of the book in page x and paragraph ) (the page has different translation, because this book used in many languages) Object Languages :id :name The relationship: Book has many pages pages belong to book pages belong to languages I use cake baker to generate the mockup ... I did well .. i can view the book and when i clicked on the book it display all pages (which is has more than 1000 list) Now, I want paginate based on pagenumber (and languages). is it possible with pagination ? I dont care about the limit, if one page has 10 or 20 or 100 ... display it all in a page ... when the user click on prev or next, it goes on the next page or previous page ... Shall i do this manually or use paginate ? tx adwin www.wysmedia.com www.kompani.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
