PHP Interface ApiPlatform\Core\DataProvider\PaginatorInterface

Author: Kévin Dunglas ([email protected])
Inheritance: extends Traversable, extends Countable
Afficher le fichier Open project: api-platform/core

Méthodes publiques

Méthode 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 méthode

Gets the current page number.
public getCurrentPage ( ) : float
Résultat float

getItemsPerPage() public méthode

Gets the number of items by page.
public getItemsPerPage ( ) : float
Résultat float

getLastPage() public méthode

Gets last page.
public getLastPage ( ) : float
Résultat float

getTotalItems() public méthode

Gets the number of items in the whole collection.
public getTotalItems ( ) : float
Résultat float