ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\Xml\Service Class Reference

XML service for WebDAV. More...

+ Inheritance diagram for Sabre\DAV\Xml\Service:
+ Collaboration diagram for Sabre\DAV\Xml\Service:

Data Fields

 $elementMap
 This is a list of XML elements that we automatically map to PHP classes. More...
 
 $namespaceMap
 
- Data Fields inherited from Sabre\Xml\Service
 $elementMap = []
 
 $namespaceMap = []
 
 $classMap = []
 

Additional Inherited Members

- Public Member Functions inherited from Sabre\Xml\Service
 getReader ()
 Returns a fresh XML Reader. More...
 
 getWriter ()
 Returns a fresh xml writer. More...
 
 parse ($input, $contextUri=null, &$rootElementName=null)
 Parses a document in full. More...
 
 expect ($rootElementName, $input, $contextUri=null)
 Parses a document in full, and specify what the expected root element name is. More...
 
 write ($rootElementName, $value, $contextUri=null)
 Generates an XML document in one go. More...
 
 mapValueObject ($elementName, $className)
 Map an xml element to a PHP class. More...
 
 writeValueObject ($object, $contextUri=null)
 Writes a value object. More...
 
- Static Public Member Functions inherited from Sabre\Xml\Service
static parseClarkNotation ($str)
 Parses a clark-notation string, and returns the namespace and element name components. More...
 
- Protected Attributes inherited from Sabre\Xml\Service
 $valueObjectMap = []
 A list of classes and which XML elements they map to. More...
 

Detailed Description

XML service for WebDAV.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 12 of file Service.php.

Field Documentation

◆ $elementMap

Sabre\DAV\Xml\Service::$elementMap
Initial value:
= [
'{DAV:}multistatus' => 'Sabre\\DAV\\Xml\\Response\\MultiStatus'

This is a list of XML elements that we automatically map to PHP classes.

For instance, this list may contain an entry {DAV:}propfind that would be mapped to Sabre

Definition at line 20 of file Service.php.

◆ $namespaceMap

Sabre\DAV\Xml\Service::$namespaceMap
Initial value:
= [
'DAV:' => 'd'

Definition at line 42 of file Service.php.


The documentation for this class was generated from the following file: