[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/RPC/ -> rest.php (sommaire)

(pas de description)

Poids: 126 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Horde_RPC_rest:: (4 méthodes):
  authorize()
  getInput()
  getResponse()
  getResponseContentType()


Classe: Horde_RPC_rest  - X-Ref

The Horde_RPC_rest class provides a REST implementation of the Horde RPC
system.

$Horde: framework/RPC/RPC/rest.php,v 1.6.2.2 2006/05/04 12:24:14 jan Exp $

Copyright Rafael Varela Pet <rafael.varela.pet@usc.es>

See the enclosed file COPYING for license information (LGPL). If you did
not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

authorize()   X-Ref
Check authentication. Different backends may handle
authentication in different ways. The base class implementation
checks for HTTP Authentication against the Horde auth setup.

return: boolean  Returns true if authentication is successful.

getInput()   X-Ref
Get. all the GET input data. The 'call' param is extracted from the
array and treated separately.

return: array  (method name, array of parameters)

getResponse($request)   X-Ref
Sends an RPC request to the server and returns the result.

param: string  The raw request string.
return: mixed  The response from the server or an PEAR error object on

getResponseContentType()   X-Ref
Get the Content-Type of the response.

return: string  The MIME Content-Type of the RPC response.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7