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 property
the CSS class for the active (currently selected) page button.
public $activePageCssClass |
$disabledPageCssClass public property
the CSS class for the disabled page buttons.
public $disabledPageCssClass |
$firstPageCssClass public property
the CSS class for the "first" page button.
public $firstPageCssClass |
$firstPageLabel public 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 property
Hide widget when only one page exist.
$lastPageCssClass public property
the CSS class for the "last" page button.
$lastPageLabel public 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 property
the CSS class for the "next" page button.
$nextPageLabel public 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 property
the CSS class for the each page button.
$prevPageCssClass public property
the CSS class for the "previous" page button.
$prevPageLabel public 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.