mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-23 12:10:54 +08:00
Added doc about BaseDataProvider::getPagination().
This commit is contained in:
@ -157,6 +157,9 @@ abstract class BaseDataProvider extends Component implements DataProviderInterfa
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Returns the pagination object used by this data provider.
|
||||||
|
* Note that you should call [[prepare()]] or [[getModels()]] first to get correct values
|
||||||
|
* of [[Pagination::totalCount]] and [[Pagination::pageCount]].
|
||||||
* @return Pagination|boolean the pagination object. If this is false, it means the pagination is disabled.
|
* @return Pagination|boolean the pagination object. If this is false, it means the pagination is disabled.
|
||||||
*/
|
*/
|
||||||
public function getPagination()
|
public function getPagination()
|
||||||
|
Reference in New Issue
Block a user