PHP Class Sculpin\Bundle\PaginationBundle\PaginationGenerator

Author: Beau Simensen ([email protected])
Inheritance: implements Sculpin\Core\Generator\GeneratorInterface
Afficher le fichier Open project: sculpin/sculpin

Protected Properties

Свойство Type Description
$dataProviderManager Sculpin\Core\DataProvider\DataProviderManager Data Provider Manager
$maxPerPage integer Max per page (default)

Méthodes publiques

Méthode Description
__construct ( Sculpin\Core\DataProvider\DataProviderManager $dataProviderManager, integer $maxPerPage ) Constructor
generate ( Sculpin\Core\Source\SourceInterface $source )

Method Details

__construct() public méthode

Constructor
public __construct ( Sculpin\Core\DataProvider\DataProviderManager $dataProviderManager, integer $maxPerPage )
$dataProviderManager Sculpin\Core\DataProvider\DataProviderManager Data Provider Manager
$maxPerPage integer Max items per page

generate() public méthode

public generate ( Sculpin\Core\Source\SourceInterface $source )
$source Sculpin\Core\Source\SourceInterface

Property Details

$dataProviderManager protected_oe property

Data Provider Manager
protected DataProviderManager,Sculpin\Core\DataProvider $dataProviderManager
Résultat Sculpin\Core\DataProvider\DataProviderManager

$maxPerPage protected_oe property

Max per page (default)
protected int $maxPerPage
Résultat integer