UploaderError Class
Exceptions specific to the media Uploader class Located in the namespace Canteen\Media.
Constructor
Item Index
Properties
- ALREADY_EXISTS static
- BAD_UPLOAD static
- CANNOT_RESIZE static
- FILE_EXT static
- MAX_SIZE static
- MEMORY_LIMIT static
- messages static
- MIME_TYPE static
- NO_INPUT static
- NOT_MOVED static
- PERMISSION static
- THUMBNAIL static
- UNDEFINED_EXTS static
- UNDEFINED_MIMES static
- UNKNOWN static
- UNSUCCESSFUL static
- UPLOAD_DIR static
Properties
ALREADY_EXISTS
Int
final
static
File already exists
BAD_UPLOAD
Int
final
static
Upload result was unsuccessful
CANNOT_RESIZE
Int
final
static
Cannot resize until upload has been completed
FILE_EXT
Int
final
static
File extension not allowed
MAX_SIZE
Int
final
static
Filesize is over the server limit
MEMORY_LIMIT
Int
final
static
Not enough memory to complete this task
MIME_TYPE
Int
final
static
Mime type not allowed
NO_INPUT
Int
final
static
No file to upload
NOT_MOVED
Int
final
static
File was not moved
PERMISSION
Int
final
static
Change permission to writable
THUMBNAIL
Int
final
static
Thumbnail creation failed
UNDEFINED_EXTS
Int
final
static
No file extensions defined for this uploader
UNDEFINED_MIMES
Int
final
static
No MIME types defined for this uploader
UNSUCCESSFUL
Int
final
static
Upload was not successful
UPLOAD_DIR
Int
final
static
Upload directory does not exist