Inherited Variables
Inherited Constants
Inherited Methods
Class: Sabre_DAV_ServerPlugin
- Sabre_DAV_ServerPlugin::getFeatures()
- This method should return a list of server-features.
- Sabre_DAV_ServerPlugin::getHTTPMethods()
- Use this method to tell the server this plugin defines additional HTTP methods.
- Sabre_DAV_ServerPlugin::initialize()
- This initializes the plugin.
Class Details
Browser Plugin
This plugin provides a html representation, so that a WebDAV server may be accessed using a browser.
The class intercepts GET requests to collection resources and generates a simple html index. It's not really pretty though, extend to skin this listing.
Tags:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- version - $Id$
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- license - Modified BSD License
[ Top ]
Class Variables
$enablePost = true
[line 33]
enableEditing
Tags:
- access - protected
Type: bool
Overrides:
[ Top ]
$server
[ Top ]
Class Methods
__construct
void __construct(
[bool
$enablePost = true])
[line 44]
Creates the object.
By default it will allow file creation and uploads. Specify the first argument as false to disable this
Tags:
- access - public
Parameters:
- bool $enablePost -
[ Top ]
escapeHTML
void escapeHTML(
string
$value)
[line 136]
Escapes a string for html.
Tags:
- access - public
Parameters:
- string $value -
[ Top ]
generateDirectoryIndex
string generateDirectoryIndex(
string
$path)
[line 148]
Generates the html directory index for a given url
Tags:
- access - public
Parameters:
- string $path -
[ Top ]
httpGetInterceptor
bool httpGetInterceptor(
string
$method)
[line 69]
This method intercepts GET requests to collections and returns the html
Tags:
- access - public
Parameters:
- string $method -
[ Top ]
httpPOSTHandler
bool httpPOSTHandler(
string
$method)
[line 95]
Handles POST requests for tree operations
This method is not yet used.
Tags:
- access - public
Parameters:
- string $method -
[ Top ]
initialize
void initialize(
Sabre_DAV_Server
$server)
[line 56]
Initializes the plugin and subscribes to events
Tags:
- access - public
Overrides Sabre_DAV_ServerPlugin::initialize() (This initializes the plugin.)
Parameters:
- Sabre_DAV_Server $server -
[ Top ]