widgets\LinkPager renderPageButtons()

renderPageButtons() protected method Renders the page buttons. protected string renderPageButtons ( )return string The rendering result

widgets\LinkPager renderPageButton()

renderPageButton() protected method Renders a page button. You may override this method to customize the generation of page buttons. protected string renderPageButton ( $label, $page, $class, $disabled, $active )$label string The text label for the button $page integer The page number $class string The CSS class for the page button. $disabled boolean Whether this page button is disabled $active boolean Whether this page button is active return string The rendering result

widgets\LinkPager registerLinkTags()

registerLinkTags() protected method Registers relational link tags in the html header for prev, next, first and last page. These links are generated using yii\data\Pagination::getLinks(). See also http://www.w3.org/TR/html401/struct/links.html#h-12.1.2. protected void registerLinkTags ( )

widgets\LinkPager init()

init() public method Initializes the pager. public void init ( )

widgets\LinkPager getPageRange()

getPageRange() protected method protected array getPageRange ( )return array The begin and end pages that need to be displayed.

widgets\LinkPager $registerLinkTags

$registerLinkTags public property Whether to register link tags in the HTML header for prev, next, first and last page. Defaults to false to avoid conflicts when multiple pagers are used on one page. See also: http://www.w3.org/TR/html401/struct/links.html#h-12.1.2 registerLinkTags() public boolean $registerLinkTags = false

widgets\LinkPager $prevPageLabel

$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. public string|boolean $prevPageLabel = '«'

widgets\LinkPager $prevPageCssClass

$prevPageCssClass public property The CSS class for the "previous" page button. public string $prevPageCssClass = 'prev'

widgets\LinkPager $pagination

$pagination public property The pagination object that this pager is associated with. You must set this property in order to make LinkPager work. public yii\data\Pagination $pagination = null

widgets\LinkPager $pageCssClass

$pageCssClass public property (available since version 2.0.7) The CSS class for the each page button. public string $pageCssClass = null