Colymba\BulkManager\BulkAction\Handler

Base class to extend for all custom bulk action handlers Gives access to the GridField, Component and Controller and implements useful functions like {@link getRecordIDList()} and {@link getRecords()}.

Synopsis

class Handler extends RequestHandler {
}

Hierarchy

Extends

  • SilverStripe\Control\RequestHandler

Members

protected

Methods

protected

  • getToplevelController() — Traverse up nested requests until we reach the first that's not a GridFieldDetailForm or GridFieldDetailForm_ItemRequest.

public

  • __construct()
  • getRecordIDList() — Returns the list of record IDs selected in the front-end.
  • getRecords() — Returns a DataList of the records selected in the front-end.