Hello

i have table like this:

users :
id,
name
email,
etc

orders :
id
user_id
orderdate,
senddate,
etc


orderDetails:
id,
order_id
item_id
qty
price
total
etc,


and items:
id
nameofitem

user has many orders,
each orders has many ordersDetails
orderDetails has many items


I was asked to make pagination so that the user can view their orders.
and the orders will be displayed by date (so the pagination function
should be able to separate by date).

can we do that using pagination() function with cakephp ?

can someone give me example on how to make paginate() methods on the
models.

thank you ...


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to