Property | Type | Description | |
---|---|---|---|
$cacheOptions | |||
$columnTransformers | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection | ||
$columns | WellCommerce\Component\DataSet\Column\ColumnCollection | ||
$defaultContextOptions | array | ||
$defaultRequestOptions | array |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Component\DataSet\Repository\DataSetAwareRepositoryInterface $repository, WellCommerce\Component\DataSet\Manager\DataSetManagerInterface $manager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher ) | AbstractDataSet constructor. | |
addColumn ( WellCommerce\Component\DataSet\Column\ColumnInterface $column ) | ||
configureOptions ( WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface $configurator ) | ||
dispatchOnDataSetInitEvent ( ) | ||
getColumns ( ) : WellCommerce\Component\DataSet\Column\ColumnCollection | ||
getResult ( string $contextType, array $requestOptions = [], array $contextOptions = [] ) : array | ||
setCacheOptions ( |
||
setColumns ( WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) | ||
setDefaultContextOption ( string $name, $value ) | ||
setDefaultRequestOption ( string $name, $value ) |
Method | Description | |
---|---|---|
getDataSetRequest ( array $requestOptions = [] ) : WellCommerce\Component\DataSet\Request\DataSetRequestInterface | ||
getDataSetTransformer ( string $type, array $options = [] ) : WellCommerce\Component\DataSet\Transformer\DataSetTransformerInterface | ||
getQueryBuilder ( WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request ) : Doctrine\ORM\QueryBuilder |
Method | Description | |
---|---|---|
dispatchDataSetRequestEvent ( WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request ) | ||
getContextOptions ( array $contextOptions = [] ) : array | ||
getEventName ( string $eventSuffix ) : string | ||
getRequestOptions ( array $requestOptions = [] ) : array |
public __construct ( WellCommerce\Component\DataSet\Repository\DataSetAwareRepositoryInterface $repository, WellCommerce\Component\DataSet\Manager\DataSetManagerInterface $manager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher ) | ||
$repository | WellCommerce\Component\DataSet\Repository\DataSetAwareRepositoryInterface | |
$manager | WellCommerce\Component\DataSet\Manager\DataSetManagerInterface | |
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface |
public addColumn ( WellCommerce\Component\DataSet\Column\ColumnInterface $column ) | ||
$column | WellCommerce\Component\DataSet\Column\ColumnInterface |
abstract public configureOptions ( WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface $configurator ) | ||
$configurator | WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface |
public getColumns ( ) : WellCommerce\Component\DataSet\Column\ColumnCollection | ||
return | WellCommerce\Component\DataSet\Column\ColumnCollection |
protected getDataSetRequest ( array $requestOptions = [] ) : WellCommerce\Component\DataSet\Request\DataSetRequestInterface | ||
$requestOptions | array | |
return | WellCommerce\Component\DataSet\Request\DataSetRequestInterface |
protected getDataSetTransformer ( string $type, array $options = [] ) : WellCommerce\Component\DataSet\Transformer\DataSetTransformerInterface | ||
$type | string | |
$options | array | |
return | WellCommerce\Component\DataSet\Transformer\DataSetTransformerInterface |
protected getQueryBuilder ( WellCommerce\Component\DataSet\Request\DataSetRequestInterface $request ) : Doctrine\ORM\QueryBuilder | ||
$request | WellCommerce\Component\DataSet\Request\DataSetRequestInterface | |
return | Doctrine\ORM\QueryBuilder |
public setCacheOptions ( |
||
$options |
public setColumns ( WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) | ||
$columns | WellCommerce\Component\DataSet\Column\ColumnCollection |
public setDefaultContextOption ( string $name, $value ) | ||
$name | string |
public setDefaultRequestOption ( string $name, $value ) | ||
$name | string |
protected CacheOptions,WellCommerce\Component\DataSet\Cache $cacheOptions | ||
return |
protected ColumnTransformerCollection,WellCommerce\Component\DataSet\Transformer $columnTransformers | ||
return | WellCommerce\Component\DataSet\Transformer\ColumnTransformerCollection |
protected ColumnCollection,WellCommerce\Component\DataSet\Column $columns | ||
return | WellCommerce\Component\DataSet\Column\ColumnCollection |