data\BaseDataProvider getPagination()

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.

doc_Yii
2016-10-30 16:55:48
Comments
Leave a Comment

Please login to continue.