-
Notifications
You must be signed in to change notification settings - Fork 29
/
LinkPager.php
39 lines (35 loc) · 1.26 KB
/
LinkPager.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* @link https://github.com/MacGyer/yii2-materializecss
* @copyright Copyright (c) 2016 ... MacGyer for pluspunkt coding
* @license https://github.com/MacGyer/yii2-materializecss/blob/master/LICENSE
*/
namespace macgyer\yii2materializecss\widgets\grid;
/**
* LinkPager displays a list of hyperlinks that lead to different pages of target.
*
* @author Christoph Erdmann <yii2-materializecss@pluspunkt-coding.de>
* @package widgets
* @subpackage data
* @see [\yii\widgets\LinkPager](http://www.yiiframework.com/doc-2.0/yii-widgets-linkpager.html)
*/
class LinkPager extends \yii\widgets\LinkPager
{
/**
* @var string|bool 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.
*/
public $nextPageLabel = '<i class="material-icons">chevron_right</i>';
/**
* @var string|bool the 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 $prevPageLabel = '<i class="material-icons">chevron_left</i>';
/**
* Initializes the widget.
*/
public function init()
{
parent::init();
}
}