jamesbolitho\frontenduploadfield\UploadField
Synopsis
class UploadField
extends UploadField
{
- // members
- private static array $allowed_actions = ;
- public static $allowedMaxFileSize;
- protected integer $timeout = 30000;
- // methods
- public void __construct()
- public string Field()
- public void Type()
- public void upload()
- public void uploadedFiles()
- public void getAttributes()
- public $this getAllowedMaxFileSize()
- protected array getAcceptFileTypes()
- public int|null getTimeout()
- public UploadField setTimeout()
Hierarchy
Extends
- SilverStripe\AssetAdmin\Forms\UploadField
Members
private
- $allowed_actions
protected
- $timeout
—
int
Set the timeout (in milliseconds) allowed by dropzone (defaults to Dropzone default of 30 seconds).
public
- $allowedMaxFileSize
Methods
protected
- getAcceptFileTypes() — Returns a list of file extensions (and corresponding mime types) that will be accepted
public
- __construct()
- Field()
- Type()
- getAllowedMaxFileSize() — Sets the file size allowed for this field
- getAttributes()
- getTimeout() — Get set the timeout allowed by dropzone (defaults to null/Dropzone default)
- setTimeout() — Set set the timeout allowed by dropzone (defaults to null/Dropzone default)
- upload()
- uploadedFiles()