Méthode | Description | |
---|---|---|
configureOptions ( WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface $configurator ) | Configures dataset options | |
dispatchOnDataSetInitEvent ( ) : void | Dispatches the init event using event-dispatcher service | |
getColumns ( ) : WellCommerce\Component\DataSet\Column\ColumnCollection | Returns dataset columns | |
getResult ( string $contextType, array $requestOptions = [], array $contextOptions = [] ) : array | Returns the dataset's result for given context type and options | |
setCacheOptions ( |
||
setColumns ( WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) | Sets dataset columns | |
setDefaultContextOption ( string $name, mixed $value ) | Adds default context's option | |
setDefaultRequestOption ( string $name, mixed $value ) | Adds default request's option |
public configureOptions ( WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface $configurator ) | ||
$configurator | WellCommerce\Component\DataSet\Configurator\DataSetConfiguratorInterface |
public dispatchOnDataSetInitEvent ( ) : void | ||
Résultat | void |
public getColumns ( ) : WellCommerce\Component\DataSet\Column\ColumnCollection | ||
Résultat | WellCommerce\Component\DataSet\Column\ColumnCollection |
public setCacheOptions ( |
||
$options |
public setColumns ( WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) | ||
$columns | WellCommerce\Component\DataSet\Column\ColumnCollection |
public setDefaultContextOption ( string $name, mixed $value ) | ||
$name | string | |
$value | mixed |
public setDefaultRequestOption ( string $name, mixed $value ) | ||
$name | string | |
$value | mixed |