SupportedReportSet
supported-report-set property.
This property is defined in RFC3253, but since it's so common in other webdav-related specs, it is part of the core server.
This property is defined here: http://tools.ietf.org/html/rfc3253#section-3.1.5
- Full name:
\Sabre\DAV\Xml\Property\SupportedReportSet
- This class implements:
\Sabre\Xml\XmlSerializable
,\Sabre\DAV\Browser\HtmlOutput
Properties
reports
List of reports.
Methods
__construct
Creates the property.
Any reports passed in the constructor should be valid report-types in clark-notation.
Either a string or an array of strings must be passed.
Parameters:
Parameter | Type | Description |
---|---|---|
$reports |
string|string[] |
addReport
Adds a report to this property.
The report must be a string in clark-notation. Multiple reports can be specified as an array.
Parameters:
Parameter | Type | Description |
---|---|---|
$report |
mixed |
getValue
Returns the list of supported reports.
has
Returns true or false if the property contains a specific report.
Parameters:
Parameter | Type | Description |
---|---|---|
$reportName |
string |
xmlSerialize
The xmlSerialize method is called during xml writing.
Use the $writer argument to write its own xml serialization.
An important note: do not create a parent element. Any element implementing XmlSerializable should only ever write what's considered its 'inner xml'.
The parent of the current element is responsible for writing a containing element.
This allows serializers to be re-used for different element names.
If you are opening new elements, you must also close them again.
Parameters:
Parameter | Type | Description |
---|---|---|
$writer |
\Sabre\Xml\Writer |
toHtml
Generate html representation for this value.
The html output is 100% trusted, and no effort is being made to sanitize it. It's up to the implementor to sanitize user provided values.
The output must be in UTF-8.
The baseUri parameter is a url to the root of the application, and can be used to construct local links.
Parameters:
Parameter | Type | Description |
---|---|---|
$html |
\Sabre\DAV\Browser\HtmlOutputHelper |
Automatically generated on 2025-03-18