[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/ -> class.vfs_webdav_server.inc.php (sommaire)

FileManger - WebDAV access Using the PEAR HTTP/WebDAV/Server class (which need to be installed!)

Author: Ralf Becker
Copyright: (c) 2006 by Ralf Becker
License: http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
Version: $Id: class.boetemplate.inc.php 21437 2006-04-24 20:42:42Z ralfbecker $
Poids: 413 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

vfs_webdav_server:: (9 méthodes):
  vfs_webdav_server()
  PROPFIND()
  GET()
  PUT()
  MKCOL()
  DELETE()
  MOVE()
  COPY()
  checkAuth()


Classe: vfs_webdav_server  - X-Ref

FileManger - WebDAV access

Using the PEAR HTTP/WebDAV/Server class (which need to be installed!)

vfs_webdav_server()   X-Ref
Debug level: 0 = nothing, 1 = function calls, 2 = more info, eg. complete $_SERVER array

The debug messages are send to the apache error_log


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

param: array  general parameter passing array
param: array  return array for file properties
return: bool   true on success

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

param: array  parameter passing array
return: bool   true on success

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

param: array  parameter passing array
return: bool   true on success

MKCOL($options)   X-Ref
MKCOL method handler

param: array  general parameter passing array
return: bool   true on success

DELETE($options)   X-Ref
DELETE method handler

param: array  general parameter passing array
return: bool   true on success

MOVE($options)   X-Ref
MOVE method handler

param: array  general parameter passing array
return: bool   true on success

COPY($options, $del=false)   X-Ref
COPY method handler

param: array  general parameter passing array
return: bool   true on success

checkAuth($type,$login,$password)   X-Ref
auth check in the session creation in dav.php, to avoid being redirected to login.php

param: string $type
param: string $login account_lid or account_lid@domain
param: string $password this is checked in the session creation
return: boolean true if authorized or false otherwise



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