Documentation

SupportedAddressData
in package
implements XmlSerializable

Supported-address-data property.

This property is a representation of the supported-address-data property in the CardDAV namespace.

This property is defined in:

http://tools.ietf.org/html/rfc6352#section-6.2.2

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Interfaces, Classes and Traits

XmlSerializable
Objects implementing XmlSerializable can control how they are represented in Xml.

Table of Contents

$supportedData  : array<string|int, mixed>
supported versions.
__construct()  : mixed
Creates the property.
xmlSerialize()  : mixed
The xmlSerialize method is called during xml writing.

Properties

$supportedData

supported versions.

protected array<string|int, mixed> $supportedData = []

Methods

__construct()

Creates the property.

public __construct([array<string|int, mixed> $supportedData = null ]) : mixed
Parameters
$supportedData : array<string|int, mixed> = null
Return values
mixed

xmlSerialize()

The xmlSerialize method is called during xml writing.

public xmlSerialize(Writer $writer) : mixed

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
$writer : Writer
Return values
mixed

Search results