PHP Class Sculpin\Bundle\PaginationBundle\PaginationGenerator

Author: Beau Simensen ([email protected])
Inheritance: implements Sculpin\Core\Generator\GeneratorInterface
ファイルを表示 Open project: sculpin/sculpin

Protected Properties

Property Type Description
$dataProviderManager Sculpin\Core\DataProvider\DataProviderManager Data Provider Manager
$maxPerPage integer Max per page (default)

Public Methods

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

Method Details

__construct() public method

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 method

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
return Sculpin\Core\DataProvider\DataProviderManager

$maxPerPage protected_oe property

Max per page (default)
protected int $maxPerPage
return integer