HTTP_WebDAV_Server
[ class tree: HTTP_WebDAV_Server ] [ index: HTTP_WebDAV_Server ] [ all elements ]

Class: HTTP_WebDAV_Server_Filesystem

Source Location: /HTTP_WebDAV_Server-1.0.0RC8/HTTP/WebDAV/Server/Filesystem.php

Class Overview

HTTP_WebDAV_Server
   |
   --HTTP_WebDAV_Server_Filesystem

Filesystem access using WebDAV


Author(s):

Version:

  • @package-version@

Methods


Inherited Variables

Inherited Methods

Class: HTTP_WebDAV_Server

HTTP_WebDAV_Server::HTTP_WebDAV_Server()
Constructor
HTTP_WebDAV_Server::bytes()
mbstring.func_overload save strlen version: counting the bytes not the chars
HTTP_WebDAV_Server::http_COPY()
COPY method handler
HTTP_WebDAV_Server::http_DELETE()
DELETE method handler
HTTP_WebDAV_Server::http_GET()
GET method handler
HTTP_WebDAV_Server::http_HEAD()
HEAD method handler
HTTP_WebDAV_Server::http_LOCK()
LOCK method handler
HTTP_WebDAV_Server::http_MKCOL()
MKCOL method handler
HTTP_WebDAV_Server::http_MOVE()
MOVE method handler
HTTP_WebDAV_Server::http_OPTIONS()
OPTIONS method handler
HTTP_WebDAV_Server::http_PROPFIND()
PROPFIND method handler
HTTP_WebDAV_Server::http_PROPPATCH()
PROPPATCH method handler
HTTP_WebDAV_Server::http_PUT()
PUT method handler
HTTP_WebDAV_Server::http_status()
set HTTP return status and mirror it in a private header
HTTP_WebDAV_Server::http_UNLOCK()
UNLOCK method handler
HTTP_WebDAV_Server::lockdiscovery()
Generate lockdiscovery reply from checklock() result
HTTP_WebDAV_Server::mkprop()
helper for property element creation
HTTP_WebDAV_Server::ServeRequest()
Serve WebDAV HTTP request

Class Details

[line 46]
Filesystem access using WebDAV
  • Author: Hartmut Holzgraefe <hartmut@php.net>
  • Version: @package-version@
  • Access: public


[ Top ]


Method Detail

checkLock   [line 843]

bool checkLock( string $path)

checkLock() helper
  • Return: true on success

Parameters:

string   $path   —  resource path to check for locks

[ Top ]

COPY   [line 590]

bool COPY( array $options, [ $del = false])

COPY method handler
  • Return: true on success

Parameters:

array   $options   —  general parameter passing array
   $del   — 

[ Top ]

create_database   [line 880]

bool create_database( void 0)

create database tables for property and lock storage
  • Return: true on success

Parameters:

void   0   — 

[ Top ]

DELETE   [line 549]

bool DELETE( array $options)

DELETE method handler
  • Return: true on success

Parameters:

array   $options   —  general parameter passing array

[ Top ]

fileinfo   [line 197]

array fileinfo( string $path)

Get properties for a single file/resource
  • Return: resource properties

Parameters:

string   $path   —  resource path

[ Top ]

GET   [line 395]

bool GET( array &$options)

GET method handler
  • Return: true on success

Parameters:

array   &$options   —  parameter passing array

[ Top ]

GetDir   [line 425]

void GetDir( string $fspath, &$options)

GET method handler for directories

This is a very simple mod_index lookalike. See RFC 2518, Section 8.4 on GET/HEAD for collections

  • Return: function has to handle HTTP response itself

Parameters:

string   $fspath   —  directory path
   &$options   — 

[ Top ]

HEAD   [line 366]

bool HEAD( array &$options)

HEAD method handler
  • Return: true on success

Parameters:

array   &$options   —  parameter passing array

[ Top ]

LOCK   [line 769]

bool LOCK( array &$options)

LOCK method handler
  • Return: true on success

Parameters:

array   &$options   —  general parameter passing array

[ Top ]

MKCOL   [line 512]

bool MKCOL( array $options)

MKCOL method handler
  • Return: true on success

Parameters:

array   $options   —  general parameter passing array

[ Top ]

MOVE   [line 579]

bool MOVE( array $options)

MOVE method handler
  • Return: true on success

Parameters:

array   $options   —  general parameter passing array

[ Top ]

PROPFIND   [line 152]

bool PROPFIND( array &$options, array &$files)

PROPFIND method handler
  • Return: true on success

Parameters:

array   &$options   —  general parameter passing array
array   &$files   —  return array for file properties

[ Top ]

PROPPATCH   [line 730]

bool PROPPATCH( array &$options)

PROPPATCH method handler
  • Return: true on success

Parameters:

array   &$options   —  general parameter passing array

[ Top ]

PUT   [line 479]

bool PUT( array &$options)

PUT method handler
  • Return: true on success

Parameters:

array   &$options   —  parameter passing array

[ Top ]

ServeRequest   [line 104]

void ServeRequest( [string $base = false])

Serve a webdav request
  • Access: public

Overrides HTTP_WebDAV_Server::ServeRequest() (Serve WebDAV HTTP request)

Parameters:

string   $base   — 

[ Top ]

UNLOCK   [line 827]

bool UNLOCK( array &$options)

UNLOCK method handler
  • Return: true on success

Parameters:

array   &$options   —  general parameter passing array

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:50:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.