• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

The PaginationScope library is a pagination library of the NamedScope era.

The difference to the last version is only a small bug fix. So you can keep using it if you don't mind.

That's all. But I shall use this opportunity to write some document for the helper method of the library.

SYNOPSIS:

   1  paginate <scope>[, <options>]

The scope is a pagination scope object. The options is a hash including several parameters as follows.

  • :newer The label string for the link to a newer page.
  • :older The label string for the link to an older page.
  • :left The number of pages which appears on the left side.
  • :right The number of pages which appears on the right side.
  • :window The width of pages which surrounds the current page.
posted by Png takiuchi on Wed 20 Aug 2008 at 02:34

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry798
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ