Colymba\BulkUpload\BulkUploaderRequest

Handles request from the GridFieldBulkUpload component.

Synopsis

class BulkUploaderRequest extends RequestHandler {
}

Hierarchy

Extends

  • SilverStripe\Control\RequestHandler

Members

private

  • $allowed_actions — array
    RequestHandler allowed actions.
  • $url_handlers — array
    RequestHandler url => action map.

protected

Methods

protected

  • contentTypeNegotiation() — Sets response 'Content-Type' depending on browser capabilities e.g. IE needs text/plain for iframe transport https://github.com/blueimp/jQuery-File-Upload/issues/1795.
  • newRecordJSTemplateData() — Updates the Upload/Attach response from the UploadField with the new DataObject records for the JS template.

public