Colymba\BulkManager\BulkManager
GridField component for editing attached models in bulk.
- Author: colymba
Synopsis
class BulkManager
implements
GridField_HTMLProvider,GridField_ColumnProvider,GridField_URLHandler
{
- // members
- protected array $config = ;
- // methods
- public void __construct()
- public void setConfig()
- public mixed getConfig()
- public $this addBulkAction()
- public $this removeBulkAction()
- public array getBulkActions()
- public void augmentColumns()
- public array getColumnsHandled()
- public mixed getColumnContent()
- public array getColumnAttributes()
- public array getColumnMetadata()
- public array getHTMLFragments()
- public array getURLHandlers()
- public mixed handleBulkAction()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
- SilverStripe\Forms\GridField\GridField_ColumnProvider
- SilverStripe\Forms\GridField\GridField_URLHandler
Members
protected
- $config
—
array
component configuration.
Methods
public
- __construct() — BulkManager component constructor.
- addBulkAction() — Lets you add custom bulk actions to the bulk manager interface.
- augmentColumns() — Add bulk select column.
- getBulkActions() — Return the list of bulk actions already provided
- getColumnAttributes() — Set the column's HTML attributes.
- getColumnContent() — Sets the column's content.
- getColumnMetadata() — Set the column's meta data.
- getColumnsHandled() — Which columns are handled by the component.
- getConfig() — Returns one $config parameter of the full $config.
- getHTMLFragments()
- getURLHandlers() — Returns an action => handler list.
- handleBulkAction() — Pass control over to the RequestHandler loop through the handlers provided in config['actions'] and find matching url_handlers.
- removeBulkAction() — Removes a bulk actions from the bulk manager interface.
- setConfig() — Sets the component configuration parameter.