\MultiRecordFileAttachmentField
Support for FileAttachmentField from Unclecheese's Dropzone module.
Only supports ~1.2.x at time of writing (20/06/2016)
Synopsis
class MultiRecordFileAttachmentField
extends FileAttachmentField
{
- // members
- private static array $allowed_actions = ;
- public string $multiRecordAction = '';
- public string $MultiRecordEditing_Name = '';
- // methods
- public SS_HTTPResponse upload()
- public FileAttachmentField saveInto()
- public DataObject setRecord()
- public DataObject getRecord()
- public static MultiRecordFileAttachmentField cast()
- public void Link()
Hierarchy
Extends
- FileAttachmentField
Members
private
- $allowed_actions
public
- $MultiRecordEditing_Name
—
string
The name used in the SS_HTTPRequest - $multiRecordAction
—
string
Override with a new action.
Methods
public
- Link()
- cast()
- getRecord() — Get the record that this form field is editing
- saveInto() — Saves the field into a record
- setRecord() — Set the record that this form field is editing
- upload() — Action to handle upload of a single file