PHP 클래스 WellCommerce\Component\DataSet\Context\DataGridContext

저자: Adam Piotrowski ([email protected])
상속: extends AbstractDataSetContext
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$paginator WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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 configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getResult() 공개 메소드

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

프로퍼티 상세

$paginator 보호되어 있는 프로퍼티

protected DataSetPaginatorInterface,WellCommerce\Component\DataSet\Paginator $paginator
리턴 WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface