PHP Interface ApiPlatform\Core\DataProvider\PaginatorInterface

Author: Kévin Dunglas ([email protected])
Inheritance: extends Traversable, extends Countable
显示文件 Open project: api-platform/core

Public Methods

Method Description
getCurrentPage ( ) : float Gets the current page number.
getItemsPerPage ( ) : float Gets the number of items by page.
getLastPage ( ) : float Gets last page.
getTotalItems ( ) : float Gets the number of items in the whole collection.

Method Details

getCurrentPage() public method

Gets the current page number.
public getCurrentPage ( ) : float
return float

getItemsPerPage() public method

Gets the number of items by page.
public getItemsPerPage ( ) : float
return float

getLastPage() public method

Gets last page.
public getLastPage ( ) : float
return float

getTotalItems() public method

Gets the number of items in the whole collection.
public getTotalItems ( ) : float
return float