\Pydio\OCS\Server\FederatedServer

Class Server

Summary

Methods
Properties
Constants
__construct()
handleException()
notImplemented()
getFormat()
buildResponse()
sendResponse()
run()
No public properties found
No constants found
array2xml()
actionReceive()
actionAccept()
actionDecline()
actionUnshare()
validateReceiveShareParameters()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Dummy constructor.

handleException()

handleException(\Exception  $exception) 

Parameters

\Exception $exception

notImplemented()

notImplemented(  $uriParts,   $parameters) 

Parameters

$uriParts
$parameters

getFormat()

getFormat(  $parameters) 

Parameters

$parameters

buildResponse()

buildResponse(  $status = "ok",   $code = 200,   $message = null,   $data = null) 

Parameters

$status
$code
$message
$data

sendResponse()

sendResponse(  $response,   $format = "json") 

Parameters

$response
$format

run()

run(  $uriParts,   $parameters) 

Parameters

$uriParts
$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException
\Pydio\OCS\Server\UserNotFoundException

array2xml()

array2xml(  $array,   $node_name = "root") 

Parameters

$array
$node_name

actionReceive()

actionReceive(  $parameters) 

Parameters

$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException
\Pydio\OCS\Server\UserNotFoundException

actionAccept()

actionAccept(  $remoteId,   $token,   $parameters) 

Parameters

$remoteId
$token
$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException

actionDecline()

actionDecline(  $remoteId,   $token,   $parameters) 

Parameters

$remoteId
$token
$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException

actionUnshare()

actionUnshare(  $remoteId,   $token,   $parameters) 

Parameters

$remoteId
$token
$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException

validateReceiveShareParameters()

validateReceiveShareParameters(  $parameters) 

Parameters

$parameters

Throws

\Pydio\OCS\Server\InvalidArgumentsException