Dropzone
class Dropzone extends ClientSideUploader (View source)
Constants
protected CONFIGKEY_PARALLELUPLOADS |
|
protected CONFIGKEY_CHUNK_ENABLED |
|
protected CONFIGKEY_CHUNK_SIZE |
|
Properties
protected Repository | $config | from ClientSideUploader | |
protected BitmapFormat | $bitmapFormat | from ClientSideUploader | |
protected Number | $numberService | from ClientSideUploader |
Methods
Can big images be resized on the client side before they are uploaded to the server?
Get the maximum time (in seconds) before PHP aborts uploads.
Set the number of parallel uploads.
Should the client send files in chunks if they exceed a configured size?
Should the client send files in chunks if they exceed a configured size?
Get the size of the uploaded file chunks (in bytes), by considering both the configured value and the PHP settings.
Get the configured size (in bytes) of the uploaded file chunks.
Set the configured size (in bytes) of the uploaded file chunks.
Get the maximim size (in bytes) allowed by PHP for a single uploaded file.
Get the Dropzone localization options.
Get the Dropzone configuration options.
Details
__construct(Repository $config, BitmapFormat $bitmapFormat, Number $numberService)
No description
bool
supportClientSizeImageResizing()
Can big images be resized on the client side before they are uploaded to the server?
int
getTimeout()
Get the maximum time (in seconds) before PHP aborts uploads.
int
getParallelUploads()
Get the number of parallel uploads.
ClientSideUploader
setParallelUploads(int $value)
Set the number of parallel uploads.
bool
isChunkingEnabled()
Should the client send files in chunks if they exceed a configured size?
ClientSideUploader
setChunkingEnabled(bool $value)
Should the client send files in chunks if they exceed a configured size?
int
getChunkSize()
Get the size of the uploaded file chunks (in bytes), by considering both the configured value and the PHP settings.
int|null
getConfiguredChunkSize()
Get the configured size (in bytes) of the uploaded file chunks.
ClientSideUploader
setConfiguredChunkSize(int|null $value)
Set the configured size (in bytes) of the uploaded file chunks.
int|null
getPHPMaxFileSize()
Get the maximim size (in bytes) allowed by PHP for a single uploaded file.
array
getLocalizationOptions()
Get the Dropzone localization options.
array
getConfigurationOptions()
Get the Dropzone configuration options.