init() init(integer $currentPage, integer $allCount, integer $perPage, $instance) ページャーを初期化します。 Parameters integer $currentPage 現在のページ番号(1〜)。 0が渡された時、強制的に1に変更されます。 integer $allCount 表示できるアイテム全体の件数 integer $perPage 1ページに表示する件数 $instance
hasPrev() hasPrev(string $content, $instance) : boolean 前のページがあるか調べます。 Parameters string $content 前のページがあるときに表示するコンテンツ $instance Returns boolean
hasNext() hasNext(string $content, $instance) : boolean 次のページがあるか調べます。 Parameters string $content 次のページがあるときに表示するコンテンツ $instance Returns boolean
relateRange() relateRange(integer $beforeAfter, string $content, $instance) : boolean 現在のページ番号を中心に、$beforeAfterに指定されたぜんご Parameters integer $beforeAfter 表示するページ数 string $content 次のページがあるときに表示するコンテンツ $instance Returns boolean
__construct() __construct( $currentPage, $allCount, $perPage) Parameters $currentPage $allCount $perPage