프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$booted | boolean | ||
$columns | WellCommerce\Component\DataGrid\Column\ColumnCollection | ||
$dataset | WellCommerce\Component\DataSet\DataSetInterface | ||
$eventDispatcher | |||
$identifier | string | ||
$options | WellCommerce\Component\DataGrid\Options\OptionsInterface |
메소드 | 설명 | |
---|---|---|
__construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset, string $identifier, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher ) | AbstractDataGrid constructor. | |
getColumns ( ) : WellCommerce\Component\DataGrid\Column\ColumnCollection | ||
getIdentifier ( ) : string | ||
getInstance ( ) : WellCommerce\Component\DataGrid\DataGridInterface | Returns current DataGrid | |
getOptions ( ) : WellCommerce\Component\DataGrid\Options\OptionsInterface | ||
loadResults ( |
||
setColumns ( WellCommerce\Component\DataGrid\Column\ColumnCollection $columns ) | ||
setOptions ( WellCommerce\Component\DataGrid\Options\OptionsInterface $options ) |
메소드 | 설명 | |
---|---|---|
configure ( ) | Boots current datagrid | |
configureColumns ( WellCommerce\Component\DataGrid\Column\ColumnCollection $columns ) | Configures DataGrid columns | |
configureOptions ( WellCommerce\Component\DataGrid\Options\OptionsInterface $options ) | Configures DataGrid options | |
getActionUrl ( string $actionName ) : string | Returns the absolute URL pointing to the controller action | |
getJavascriptFunctionName ( string $name ) : string | Returns javascript function name |
public __construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset, string $identifier, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher ) | ||
$dataset | WellCommerce\Component\DataSet\DataSetInterface | |
$identifier | string | |
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface |
abstract protected configureColumns ( WellCommerce\Component\DataGrid\Column\ColumnCollection $columns ) | ||
$columns | WellCommerce\Component\DataGrid\Column\ColumnCollection |
protected configureOptions ( WellCommerce\Component\DataGrid\Options\OptionsInterface $options ) | ||
$options | WellCommerce\Component\DataGrid\Options\OptionsInterface |
protected getActionUrl ( string $actionName ) : string | ||
$actionName | string | |
리턴 | string |
public getColumns ( ) : WellCommerce\Component\DataGrid\Column\ColumnCollection | ||
리턴 | WellCommerce\Component\DataGrid\Column\ColumnCollection |
public getInstance ( ) : WellCommerce\Component\DataGrid\DataGridInterface | ||
리턴 | WellCommerce\Component\DataGrid\DataGridInterface |
protected getJavascriptFunctionName ( string $name ) : string | ||
$name | string | |
리턴 | string |
public getOptions ( ) : WellCommerce\Component\DataGrid\Options\OptionsInterface | ||
리턴 | WellCommerce\Component\DataGrid\Options\OptionsInterface |
public loadResults ( |
||
$request | ||
리턴 | array |
public setColumns ( WellCommerce\Component\DataGrid\Column\ColumnCollection $columns ) | ||
$columns | WellCommerce\Component\DataGrid\Column\ColumnCollection |
public setOptions ( WellCommerce\Component\DataGrid\Options\OptionsInterface $options ) | ||
$options | WellCommerce\Component\DataGrid\Options\OptionsInterface |
protected ColumnCollection,WellCommerce\Component\DataGrid\Column $columns | ||
리턴 | WellCommerce\Component\DataGrid\Column\ColumnCollection |
protected DataSetInterface,WellCommerce\Component\DataSet $dataset | ||
리턴 | WellCommerce\Component\DataSet\DataSetInterface |