PHP Class WellCommerce\Component\DataSet\Context\DataGridContext

Author: Adam Piotrowski ([email protected])
Inheritance: extends AbstractDataSetContext
Mostra file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$paginator WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface

Public Methods

Method Description
__construct ( WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface $paginator, WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager ) DataGridContext constructor.
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, CacheOptions $cache )

Method Details

__construct() public method

DataGridContext constructor.
public __construct ( WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface $paginator, WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager )
$paginator WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface
$cacheManager WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface

configureOptions() public method

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getResult() public method

public getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, CacheOptions $cache )
$builder Doctrine\ORM\QueryBuilder
$request WellCommerce\Component\DataSet\Request\DataSetRequestInterface
$columns WellCommerce\Component\DataSet\Column\ColumnCollection
$cache WellCommerce\Component\DataSet\Cache\CacheOptions

Property Details

$paginator protected_oe property

protected DataSetPaginatorInterface,WellCommerce\Component\DataSet\Paginator $paginator
return WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface