\GridFieldExportFilteredButton
Export a filtered selection of records insteand of the current list. Export all by default
Synopsis
class GridFieldExportFilteredButton
extends GridFieldExportButton
{
- // members
- protected $btnTitle = NULL;
- protected string $actionName = 'export';
- protected array $filter = ;
- protected array $exclude = ;
- protected array $filterAny = ;
- protected $where = NULL;
- // methods
- public void getWhere()
- public void setWhere()
- public void getFilterAny()
- public void setFilterAny()
- public void getFilter()
- public void setFilter()
- public void getExclude()
- public void setExclude()
- public void getActionName()
- public GridFieldExportAllButton setActionName()
- public void getBtnTitle()
- public void setBtnTitle()
- public void getActions()
- public void handleAction()
- public void getURLHandlers()
- public void getHTMLFragments()
- public array generateExportFileData()
Hierarchy
Extends
- GridFieldExportButton
Members
protected
- $actionName
- $btnTitle
- $exclude
- $filter
- $filterAny
- $where
Methods
public
- generateExportFileData() — Generate export fields for CSV.
- getActionName()
- getActions() — export is an action button
- getBtnTitle()
- getExclude()
- getFilter()
- getFilterAny()
- getHTMLFragments() — Place the export button in a <p> tag below the field
- getURLHandlers() — it is also a URL
- getWhere()
- handleAction()
- setActionName() — Set the action name to something else to allow multiple export buttons
- setBtnTitle()
- setExclude()
- setFilter()
- setFilterAny()
- setWhere()