[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

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

(pas de description)

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

Définit 2 classes

Horde_RPC_webdav:: (3 méthodes):
  Horde_RPC_webdav()
  getResponse()
  authorize()

HTTP_WebDAV_Server_Horde:: (5 méthodes):
  GET()
  PUT()
  PROPFIND()
  _list()
  check_auth()


Classe: Horde_RPC_webdav  - X-Ref

The Horde_RPC_webdav class provides a WebDAV implementation of the
Horde RPC system.

$Horde: framework/RPC/RPC/webdav.php,v 1.1.12.6 2006/01/01 21:28:33 jan Exp $

Copyright 2004-2006 Chuck Hagenbuch <chuck@horde.org>

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

Horde_RPC_webdav()   X-Ref
WebDav server constructor.


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

param: string  The raw request string.
return: string  The XML encoded response from the server.

authorize()   X-Ref
WebDAV handles authentication internally, so bypass the
system-level auth check by just returning true here.


Classe: HTTP_WebDAV_Server_Horde  - X-Ref

Horde extension of the base HTTP_WebDAV_Server class.

GET(&$options)   X-Ref
GET implementation.

param: array $options  Array of input and output parameters.
return: integer  HTTP-Statuscode.

PUT(&$options)   X-Ref
PUT method handler

param: array &$options  Parameter passing array.
return: boolean  True on success.

PROPFIND($options, &$files)   X-Ref
PROPFIND method handler

param: array $options  General parameter passing array.
param: array &$files  Return array for file properties.
return: boolean  True on success.

_list($path, $depth)   X-Ref
Pas de description

check_auth($type, $username, $password)   X-Ref
Check authentication. We always return true here since we
handle permissions based on the resource that's requested, but
we do record the authenticated user for later use.

param: string $type      Authentication type, e.g. "basic" or "digest"
param: string $username  Transmitted username.
param: string $password  Transmitted password.
return: boolean  Authentication status. Always true.



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