Colymba\BulkManager\BulkAction\DeleteHandler

Bulk action handler for deleting records.

Synopsis

class DeleteHandler extends Handler {
}

Hierarchy

Members

private

  • $allowed_actions — array
    RequestHandler allowed actions.
  • $url_handlers — array
    RequestHandler url => action map.
  • $url_segment — string
    URL segment used to call this handler If none given, @BulkManager will fallback to the Unqualified class name

protected

  • $buttonClasses — string
    Extra classes to add to the bulk action button for this handler Can also be used to set the button font-icon e.g. font-icon-trash
  • $buttonClasses — string
    Extra classes to add to the bulk action button for this handler Can also be used to set the button font-icon e.g. font-icon-trash
  • $componentColymba\BulkManager\BulkAction\GridFieldBulkManager
    GridFieldBulkManager instance.
  • $destructive — boolean
    Set to true is this handler will destroy any data.
  • $destructive — boolean
    Set to true is this handler will destroy any data.
  • $gridFieldColymba\BulkManager\BulkAction\GridField
    Related GridField instance.
  • $icon — string
    Front-end icon path for this handler's action.
  • $icon — string
    Front-end icon path for this handler's action.
  • $label — string
    Front-end label for this handler's action
  • $label — string
    Front-end label for this handler's action
  • $xhr — boolean
    Whether this handler should be called via an XHR from the front-end
  • $xhr — boolean
    Whether this handler should be called via an XHR from the front-end

Methods

public

  • delete() — Delete the selected records passed from the delete bulk action.
  • getI18nLabel() — Return i18n localized front-end label

Inherited from Colymba\BulkManager\BulkAction\Handler

public