\SDP_Driver

Determines the service to create links to upload to/download from a drive

Summary

Methods
Properties
Constants
getType()
getSymbol()
getTitle()
getDescription()
getDownloadResponse()
jsonSerialize()
getParameters()
getGeneralParam()
getExtraParam()
No public properties found
DRIVER_PREFIX
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

DRIVER_PREFIX

DRIVER_PREFIX = 'sdp_driver_'

Methods

getType()

getType() : string

Returns

string

getSymbol()

getSymbol() : string

Returns

string

getTitle()

getTitle() : string

Returns

string

getDescription()

getDescription() : string

Returns

string

getDownloadResponse()

getDownloadResponse(\SDP_Link  $link, \Pluf_Http_Request  $request) : \Pluf_Http_Response

Returns a http response to given request to download given link.

The information to create link should be placed in the meta. All other needed information should be given from request.

Parameters

\SDP_Link $link
\Pluf_Http_Request $request

Returns

\Pluf_Http_Response

jsonSerialize()

jsonSerialize() 

(non-PHPdoc)

getParameters()

getParameters() 

Returns a list of needed parameters of a driver

Each drive needs some parameter which should be provided by the user. This function determines these parameters.

Result of this function is a list of property descriptors.

getGeneralParam()

getGeneralParam() : 

فهرست خصوصیت‌های عمومی را تعیین می‌کند.

Returns

getExtraParam()

getExtraParam() 

خصوصیت‌های اضافه را تعیین می‌کند.