OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
OMVUploadRpcProxy Class Reference
Inheritance diagram for OMVUploadRpcProxy:
OMVJsonRpcProxy OMVObject

Public Member Functions

 cleanup ()
 
- Public Member Functions inherited from OMVJsonRpcProxy
 handle ()
 
 cleanup ()
 
- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 

Protected Member Functions

 getParams ()
 
 preExecute ()
 
 handleResponse ($response)
 
- Protected Member Functions inherited from OMVJsonRpcProxy
 getParams ()
 
 validate (&$errors)
 
 preExecute ()
 
 postExecute (&$response)
 
 handleResponse ($response)
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Additional Inherited Members

- Protected Attributes inherited from OMVJsonRpcProxy
 $params = NULL
 
 $paramsSchema
 

Detailed Description

A specialized RPC proxy that handles file uploads.

Member Function Documentation

OMVUploadRpcProxy::cleanup ( )

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

OMVUploadRpcProxy::handleResponse (   $response)
protected

ExtJS wants to see the response in a special format.

OMVUploadRpcProxy::preExecute ( )
protected

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

Exceptions
E_MISC_FAILURE

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