openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | Protected Member Functions | List of all members
OMV\Rpc\Proxy\Upload Class Reference
Inheritance diagram for OMV\Rpc\Proxy\Upload:
OMV\Rpc\Proxy\Json

Public Member Functions

 cleanup ()
 
- Public Member Functions inherited from OMV\Rpc\Proxy\Json
 handle ()
 
 cleanup ()
 

Protected Member Functions

 getParams ()
 
 preExecute ()
 
 handleResponse ($response)
 
- Protected Member Functions inherited from OMV\Rpc\Proxy\Json
 getParams ()
 
 validate ()
 
 preExecute ()
 
 postExecute (&$response)
 
 handleResponse ($response)
 

Additional Inherited Members

- Protected Attributes inherited from OMV\Rpc\Proxy\Json
 $params = NULL
 

Detailed Description

A specialized RPC proxy that handles file uploads.

Member Function Documentation

◆ cleanup()

OMV\Rpc\Proxy\Upload::cleanup ( )

The function that is called after the RPC has been successfully executed or it has been failed.

◆ handleResponse()

OMV\Rpc\Proxy\Upload::handleResponse (   $response)
protected

ExtJS wants to see the response in a special format.

◆ preExecute()

OMV\Rpc\Proxy\Upload::preExecute ( )
protected

Copy the uploaded file to a temporary location. Modify this filename to allow the RPC service method to process the correct file.


The documentation for this class was generated from the following file: