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) {
74 $writer->writeAttributes([
75 'content-type' => $supported[
'contentType'],
76 'version' => $supported[
'version']
78 $writer->endElement();
Objects implementing XmlSerializable can control how they are represented in Xml. ...
iCalendar/vCard/jCal/jCard/xCal/xCard writer object.
const NS_CARDDAV
xml namespace for CardDAV elements
__construct(array $supportedData=null)
Creates the property.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
Supported-address-data property.