LinkPager works with a [[Pagination]] object which specifies the total number
of pages and the current page number.
Note that LinkPager only generates the necessary HTML markups. In order for it
to look like a real pager, you should provide some CSS styles for it.
With the default configuration, LinkPager should look good using Twitter Bootstrap CSS framework.
For more details and usage information on LinkPager, see the
.
$activePageCssClass public_oe property
the CSS class for the active (currently selected) page button.
public $activePageCssClass |
$disabledPageCssClass public_oe property
the CSS class for the disabled page buttons.
public $disabledPageCssClass |
$firstPageCssClass public_oe property
the CSS class for the "first" page button.
public $firstPageCssClass |
$firstPageLabel public_oe property
the text label for the "first" page button. Note that this will NOT be HTML-encoded.
If it's specified as true, page number will be used as label.
Default is false that means the "first" page button will not be displayed.
$hideOnSinglePage public_oe property
Hide widget when only one page exist.
$lastPageCssClass public_oe property
the CSS class for the "last" page button.
$lastPageLabel public_oe property
the text label for the "last" page button. Note that this will NOT be HTML-encoded.
If it's specified as true, page number will be used as label.
Default is false that means the "last" page button will not be displayed.
$nextPageCssClass public_oe property
the CSS class for the "next" page button.
$nextPageLabel public_oe property
the label for the "next" page button. Note that this will NOT be HTML-encoded.
If this property is false, the "next" page button will not be displayed.
$pageCssClass public_oe property
the CSS class for the each page button.
$prevPageCssClass public_oe property
the CSS class for the "previous" page button.
$prevPageLabel public_oe property
the text label for the previous page button. Note that this will NOT be HTML-encoded.
If this property is false, the "previous" page button will not be displayed.