PHP Class WellCommerce\Component\DataSet\Context\ArrayContext

Author: Adam Piotrowski ([email protected])
Inheritance: extends AbstractDataSetContext
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$pagination WellCommerce\Component\DataSet\Pagination\DataSetPaginationInterface

Public Methods

Method Description
__construct ( WellCommerce\Component\DataSet\Pagination\DataSetPaginationInterface $pagination, WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager ) ArrayContext 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

ArrayContext constructor.
public __construct ( WellCommerce\Component\DataSet\Pagination\DataSetPaginationInterface $pagination, WellCommerce\Component\DataSet\Cache\DataSetCacheManagerInterface $cacheManager )
$pagination WellCommerce\Component\DataSet\Pagination\DataSetPaginationInterface
$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

$pagination protected property

protected DataSetPaginationInterface,WellCommerce\Component\DataSet\Pagination $pagination
return WellCommerce\Component\DataSet\Pagination\DataSetPaginationInterface