41 [
'contentType' =>
'text/vcard',
'version' =>
'3.0'],
42 [
'contentType' =>
'text/vcard',
'version' =>
'4.0'],
43 [
'contentType' =>
'application/vcard+json',
'version' =>
'4.0'],
72 foreach ($this->supportedData as $supported) {
75 'content-type' => $supported[
'contentType'],
76 'version' => $supported[
'version']
78 $writer->endElement();
An exception for terminatinating execution or to throw for unit testing.
const NS_CARDDAV
xml namespace for CardDAV elements
Supported-address-data property.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
__construct(array $supportedData=null)
Creates the property.
startElement($name)
Opens a new element.
writeAttributes(array $attributes)
Writes a list of attributes.
Objects implementing XmlSerializable can control how they are represented in Xml.