Yii Framework Forum: I'm having a little problem understanding pagination - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I'm having a little problem understanding pagination Rate Topic: -----

#1 User is offline   mydarkpassenger 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 26-April 10

Posted 10 May 2010 - 07:40 AM

I'm having a problem understanding how pagination works in yii, primarily how I can create it. Does anyone know of an documentation (outside the api page) that can help me. Examples would be useful.
0

#2 User is offline   Gevik 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 29-November 09
  • Location:The Netherlands

Posted 10 May 2010 - 08:30 AM

Assuming you are working with database records, pagination is basically getting records from a record number for a certain length. The concept is easy to grasp once you have an example to follow.

Take a look at this link (not Yii)

For Yii pagination look at this link. Look at the controller tab, I hope this helps.

Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com

Ext4Yii API examples

Follow us on twitter



Developer of Ext4Yii Framework
0

#3 User is offline   mydarkpassenger 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 26-April 10

Posted 10 May 2010 - 11:40 AM

I'm actually using lucene for the search and results. However, I'm checking out both tutorials thank you.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users