61 $report = (array)$report;
63 foreach ($report as
$r) {
65 if (!preg_match(
'/^{([^}]*)}(.*)$/', $r))
66 throw new DAV\
Exception(
'Reportname must be in clark-notation');
68 $this->reports[] =
$r;
91 function has($reportName) {
121 foreach ($this->
getValue() as $val) {
125 $writer->endElement();
126 $writer->endElement();
149 array_map([$html,
'xmlName'], $this->
getValue())
Objects implementing XmlSerializable can control how they are represented in Xml. ...
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
has($reportName)
Returns true or false if the property contains a specific report.
__construct($reports=null)
Creates the property.
startElement($name)
Opens a new element.
supported-report-set property.
getValue()
Returns the list of supported reports.
WebDAV properties that implement this interface are able to generate their own html output for the br...
addReport($report)
Adds a report to this property.
toHtml(HtmlOutputHelper $html)
Generate html representation for this value.
writeElement($name, $content=null)
Write a full element tag and it's contents.
This class provides a few utility functions for easily generating HTML for the browser plugin...