public getResult ( Doctrine\ORM\QueryBuilder $builder, WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, |
||
$builder | Doctrine\ORM\QueryBuilder | |
$request | WellCommerce\Component\DataSet\Request\DataSetRequestInterface | |
$columns | WellCommerce\Component\DataSet\Column\ColumnCollection | |
$cache |
/** * {@inheritdoc} */ public function getResult(QueryBuilder $queryBuilder, DataSetRequestInterface $request, ColumnCollection $columns) { $result = parent::getResult($queryBuilder, $request, $columns); return $this->makeOptions($result['rows']); }
/** * {@inheritdoc} */ public function getResult(QueryBuilder $builder, DataSetRequestInterface $request, ColumnCollection $columns, CacheOptions $cache) { $result = parent::getResult($builder, $request, $columns, $cache); return $this->buildTree($result['rows'], null); }