widgets\LinkPager renderPageButtons()

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

widgets\LinkPager run()

run() public method Executes the widget. This overrides the parent implementation by displaying the generated page buttons. public void run ( )

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 $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 init()

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

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 getPageRange()

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

widgets\LinkPager $options

$options public property HTML attributes for the pager container tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'pagination']

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 $prevPageCssClass

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