Re: paginator helper: how to use it without a model?

2007-07-28 Thread Dr. Tarique Sani
On 7/27/07, cakeFreak <[EMAIL PROTECTED]> wrote:
>
>
> Should I build a behavihour and a model for the controller that
> retrieves the webservice data, and then use:


Create a model for your webservice and that model should have atleast
paginateCount and paginate methods

HTH

Tarique

-- 
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=

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



Re: paginator helper: how to use it without a model?

2007-07-28 Thread cakeFreak


anyone :o(


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



paginator helper: how to use it without a model?

2007-07-27 Thread cakeFreak

I was just wondering whether it is possible to use the paginator
helper without a model.

In particular you can find yourself with a controller getting data in
form of arrays from a webservice (youtube, flickr etc.).

Should I build a behavihour and a model for the controller that
retrieves the webservice data, and then use:

$data = $this->paginate();

Am I on the worng path?!?!

Cheers Dan


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