PHP Classes


Recommend this page to a friend!

      YouTube API  >  All threads  >  Pagination  >  (Un) Subscribe thread alerts  
Summary:Pagination yoputube
Date:2008-07-08 12:02:17
Update:2008-07-08 12:31:54


  1. Pagination   Reply   Report abuse  
Picture of ceasar ceasar - 2008-07-08 12:02:17
Nice youtube api :)
Is it possible to add some sort of pagination ?
I think that will make this class more usefull
Thanks for looking in

  2. Re: Pagination   Reply   Report abuse  
Picture of Er. Rochak Chauhan Er. Rochak Chauhan - 2008-07-08 12:31:54 - In reply to message 1 from ceasar
Hi Ceaser,

Good to hear from you :)

Ofcourse there is pagination...If you take a look at the constructor function, there are four parameters


You can use $startIndex as pagination parameter. As you can see the above values will fetch first 10 results. For the next ten records, use this:


I hope it will help :

Best Regards,
Rochak Chauhan.

For more information send a message to info at phpclasses dot org.