Plugin to help facilitate Post/Redirect/Get for file upload forms (http://en.wikipedia.org/wiki/Post/Redirect/Get)
Requires that the Form’s File inputs contain a ‘fileRenameUpload’ filter with the target option set: ‘target’ => /valid/target/path’. This is so the files are moved to a new location between requests. If this filter is not added, the temporary upload files will disappear between requests.
@param FormInterface $form
Parameters: |
|
---|---|
Return type: | boolean|array|Response |
@param FormInterface $form
Parameters: |
|
---|---|
Return type: | Response |
@param FormInterface $form
Return type: | boolean|array |
---|
@param Container $container
Return type: | FilePostRedirectGet |
---|
@param FormInterface $form
Parameters: |
|
---|---|
Return type: | FilePostRedirectGet |
Traverse the InputFilter and run a callback against each Input and associated value
Parameters: |
|
---|---|
Return type: | array|null |
Traverse the InputFilter and only return the data of FileInputs that have an upload
Parameters: |
|
---|---|
Return type: | array |
Traverse the InputFilter and only return the data of FileInputs that are empty
Parameters: |
|
---|---|
Return type: | array |
TODO: Good candidate for traits method in PHP 5.4 with PostRedirectGet plugin
Parameters: |
|
---|---|
Return type: | Response |
Throws : | ZendMvcExceptionRuntimeException |