673.1. Zend\Validator\File\UploadFile
Validator for the maximum size of a file up to a max of 2GB
673.1.1. Methods
673.1.1.1. isValid
-
isValid()
Returns true if and only if the file was uploaded without errors
Parameters: | string – File to check for upload errors |
Return type: | bool |
673.1.2. Constants
673.1.2.1. INI_SIZE
@const string Error constants
673.1.2.2. FORM_SIZE
673.1.2.3. PARTIAL
673.1.2.4. NO_FILE
673.1.2.5. NO_TMP_DIR
673.1.2.6. CANT_WRITE
673.1.2.7. EXTENSION
673.1.2.8. ATTACK
673.1.2.9. FILE_NOT_FOUND
673.1.2.10. UNKNOWN