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

Class: HTTP_WebDAV_Server

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

Class Overview


Virtual base class for implementing WebDAV servers


Author(s):

Version:

  • @package_version@

Variables

Methods


Child classes:

HTTP_WebDAV_Server_Filesystem
Filesystem access using WebDAV

Inherited Variables

Inherited Methods


Class Details

[line 49]
Virtual base class for implementing WebDAV servers

WebDAV server base class, needs to be extended to do useful work



[ Top ]


Class Variables

$base_uri =

[line 66]

base URI for this request

Type:   string


[ Top ]

$dav_powered_by =  ""

[line 88]

String to be used in "X-Dav-Powered-By" header

Type:   string


[ Top ]

$http_auth_realm =  "PHP WebDAV"

[line 81]

Realm string to be used in authentification popups

Type:   string


[ Top ]

$path =

[line 74]

URI path for this request

Type:   string


[ Top ]

$uri =

[line 58]

complete URI for this request

Type:   string


[ Top ]



Method Detail

HTTP_WebDAV_Server (Constructor)   [line 130]

HTTP_WebDAV_Server HTTP_WebDAV_Server( void 0)

Constructor

Parameters:

void   0   — 

[ Top ]

bytes   [line 2152]

int bytes( string $str)

mbstring.func_overload save strlen version: counting the bytes not the chars

Parameters:

string   $str   — 

[ Top ]

http_COPY   [line 1367]

void http_COPY( void 0)

COPY method handler

Parameters:

void   0   — 

[ Top ]

http_DELETE   [line 1332]

void http_DELETE( void 0)

DELETE method handler

Parameters:

void   0   — 

[ Top ]

http_GET   [line 927]

void http_GET( void 0)

GET method handler

Parameters:

void   0   — 

[ Top ]

http_HEAD   [line 1122]

void http_HEAD( void 0)

HEAD method handler

Parameters:

void   0   — 

[ Top ]

http_LOCK   [line 1405]

void http_LOCK( void 0)

LOCK method handler

Parameters:

void   0   — 

[ Top ]

http_MKCOL   [line 905]

void http_MKCOL( void 0)

MKCOL method handler

Parameters:

void   0   — 

[ Top ]

http_MOVE   [line 1384]

void http_MOVE( void 0)

MOVE method handler

Parameters:

void   0   — 

[ Top ]

http_OPTIONS   [line 511]

void http_OPTIONS( void 0)

OPTIONS method handler

The OPTIONS method handler creates a valid OPTIONS reply including Dav: and Allowed: headers based on the implemented methods found in the actual instance


Parameters:

void   0   — 

[ Top ]

http_PROPFIND   [line 545]

void http_PROPFIND( void 0)

PROPFIND method handler

Parameters:

void   0   — 

[ Top ]

http_PROPPATCH   [line 847]

void http_PROPPATCH( void 0)

PROPPATCH method handler

Parameters:

void   0   — 

[ Top ]

http_PUT   [line 1168]

void http_PUT( void 0)

PUT method handler

Parameters:

void   0   — 

[ Top ]

http_status   [line 2036]

void http_status( string $status)

set HTTP return status and mirror it in a private header

Parameters:

string   $status   —  status code and message

[ Top ]

http_UNLOCK   [line 1522]

void http_UNLOCK( void 0)

UNLOCK method handler

Parameters:

void   0   — 

[ Top ]

lockdiscovery   [line 1989]

string lockdiscovery( string $path)

Generate lockdiscovery reply from checklock() result
  • Return: lockdiscovery response

Parameters:

string   $path   —  resource path to check

[ Top ]

mkprop   [line 1648]

array mkprop( string 0, string 1, string 2)

helper for property element creation
  • Return: property array

Parameters:

string   0   —  XML namespace (optional)
string   1   —  property name
string   2   —  property value

[ Top ]

ServeRequest   [line 151]

void ServeRequest( void 0)

Serve WebDAV HTTP request

dispatch WebDAV HTTP request to the apropriate method handler


Overridden in child classes as:

HTTP_WebDAV_Server_Filesystem::ServeRequest()
Serve a webdav request

Parameters:

void   0   — 

[ Top ]


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