|
| __construct ($options=array()) |
| Constructor for Http File Transfers.
|
|
| setValidators (array $validators, $files=null) |
| Sets a validator for the class, erasing all previous set.
|
|
| removeValidator ($name) |
| Remove an individual validator.
|
|
| clearValidators () |
| Remove an individual validator.
|
|
| send ($options=null) |
| Send the file to the client (Download)
|
|
| isValid ($files=null) |
| Checks if the files are valid.
|
|
| receive ($files=null) |
| Receive the file from the client (Upload)
|
|
| isSent ($files=null) |
| Checks if the file was already sent.
|
|
| isReceived ($files=null) |
| Checks if the file was already received.
|
|
| isFiltered ($files=null) |
| Checks if the file was already filtered.
|
|
| isUploaded ($files=null) |
| Has a file been uploaded ?
|
|
| send ($options=null) |
| Send file.
|
|
| receive ($options=null) |
| Receive file.
|
|
| isSent ($files=null) |
| Is file sent?
|
|
| isReceived ($files=null) |
| Is file received?
|
|
| isUploaded ($files=null) |
| Has a file been uploaded ?
|
|
| isFiltered ($files=null) |
| Has the file been filtered ?
|
|
| setPluginLoader (Zend_Loader_PluginLoader_Interface $loader, $type) |
| Set plugin loader to use for validator or filter chain.
|
|
| getPluginLoader ($type) |
| Retrieve plugin loader for validator or filter chain.
|
|
| addPrefixPath ($prefix, $path, $type=null) |
| Add prefix path for plugin loader.
|
|
| addPrefixPaths (array $spec) |
| Add many prefix paths at once.
|
|
| addValidator ($validator, $breakChainOnFailure=false, $options=null, $files=null) |
| Adds a new validator for this class.
|
|
| addValidators (array $validators, $files=null) |
| Add Multiple validators at once.
|
|
| setValidators (array $validators, $files=null) |
| Sets a validator for the class, erasing all previous set.
|
|
| hasValidator ($name) |
| Determine if a given validator has already been registered.
|
|
| getValidator ($name) |
| Retrieve individual validator.
|
|
| getValidators ($files=null) |
| Returns all set validators.
|
|
| removeValidator ($name) |
| Remove an individual validator.
|
|
| clearValidators () |
| Remove all validators.
|
|
| setOptions ($options=array(), $files=null) |
| Sets Options for adapters.
|
|
| getOptions ($files=null) |
| Returns set options for adapters or files.
|
|
| isValid ($files=null) |
| Checks if the files are valid.
|
|
| getMessages () |
| Returns found validation messages.
|
|
| getErrors () |
| Retrieve error codes.
|
|
| hasErrors () |
| Are there errors registered?
|
|
| addFilter ($filter, $options=null, $files=null) |
| Adds a new filter for this class.
|
|
| addFilters (array $filters, $files=null) |
| Add Multiple filters at once.
|
|
| setFilters (array $filters, $files=null) |
| Sets a filter for the class, erasing all previous set.
|
|
| hasFilter ($name) |
| Determine if a given filter has already been registered.
|
|
| getFilter ($name) |
| Retrieve individual filter.
|
|
| getFilters ($files=null) |
| Returns all set filters.
|
|
| removeFilter ($name) |
| Remove an individual filter.
|
|
| clearFilters () |
| Remove all filters.
|
|
| getFile () |
| Returns all set files.
|
|
| getFileName ($file=null, $path=true) |
| Retrieves the filename of transferred files.
|
|
| getFileInfo ($file=null) |
| Retrieve additional internal file informations for files.
|
|
| addFile ($file, $validator=null, $filter=null) |
| Adds one or more files.
|
|
| getType () |
| Returns all set types.
|
|
| addType ($type, $validator=null, $filter=null) |
| Adds one or more type of files.
|
|
| setDestination ($destination, $files=null) |
| Sets a new destination for the given files.
|
|
| getDestination ($files=null) |
| Retrieve destination directory value.
|
|
| setTranslator ($translator=null) |
| Set translator object for localization.
|
|
| getTranslator () |
| Retrieve localization translator object.
|
|
| setDisableTranslator ($flag) |
| Indicate whether or not translation should be disabled.
|
|
| translatorIsDisabled () |
| Is translation disabled?
|
|
| getHash ($hash= 'crc32', $files=null) |
| Returns the hash for a given file.
|
|
| getFileSize ($files=null) |
| Returns the real filesize of the file.
|
|
| getMimeType ($files=null) |
| Returns the real mimetype of the file Uses fileinfo, when not available mime_magic and as last fallback a manual given mimetype.
|
|