getPagination() public method
Returns the pagination object used by this data provider.
Note that you should call prepare() or getModels() first to get correct values of yii\data\Pagination::$totalCount and yii\data\Pagination::$pageCount.
public yii\data\Pagination|false getPagination ( ) | ||
---|---|---|
return | yii\data\Pagination|false |
The pagination object. If this is false, it means the pagination is disabled. |
Please login to continue.