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 публичное свойство
the CSS class for the active (currently selected) page button.
public $activePageCssClass |
$disabledPageCssClass публичное свойство
the CSS class for the disabled page buttons.
public $disabledPageCssClass |
$firstPageCssClass публичное свойство
the CSS class for the "first" page button.
public $firstPageCssClass |
$firstPageLabel публичное свойство
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 публичное свойство
Hide widget when only one page exist.
$lastPageCssClass публичное свойство
the CSS class for the "last" page button.
$lastPageLabel публичное свойство
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 публичное свойство
the CSS class for the "next" page button.
$nextPageLabel публичное свойство
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 публичное свойство
the CSS class for the each page button.
$prevPageCssClass публичное свойство
the CSS class for the "previous" page button.
$prevPageLabel публичное свойство
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.