PHP Class ApiPlatform\Core\Bridge\Doctrine\Orm\Paginator

Author: Kévin Dunglas ([email protected])
Inheritance: implements IteratorAggregate, implements ApiPlatform\Core\DataProvider\PaginatorInterface
Afficher le fichier Open project: api-platform/core

Méthodes publiques

Méthode Description
__construct ( Doctrine\ORM\Tools\Pagination\Paginator $paginator )
count ( )
getCurrentPage ( ) : float
getItemsPerPage ( ) : float
getIterator ( )
getLastPage ( ) : float
getTotalItems ( ) : float

Method Details

__construct() public méthode

public __construct ( Doctrine\ORM\Tools\Pagination\Paginator $paginator )
$paginator Doctrine\ORM\Tools\Pagination\Paginator

count() public méthode

public count ( )

getCurrentPage() public méthode

public getCurrentPage ( ) : float
Résultat float

getItemsPerPage() public méthode

public getItemsPerPage ( ) : float
Résultat float

getIterator() public méthode

public getIterator ( )

getLastPage() public méthode

public getLastPage ( ) : float
Résultat float

getTotalItems() public méthode

public getTotalItems ( ) : float
Résultat float