Prop
in package
implements
XmlDeserializable
Represents XML DAV:prop elements as PHP objects.
Tags
Interfaces, Classes and Traits
- XmlDeserializable
Table of Contents
- PROP_DESERIALIZERS = [MStilkerichCardDavClientXmlElementsElementNames::ABOOK_HOME => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefMulti'], MStilkerichCardDavClientXmlElementsElementNames::ADD_MEMBER => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefSingle'], MStilkerichCardDavClientXmlElementsElementNames::CURUSRPRINC => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefSingle'], MStilkerichCardDavClientXmlElementsElementNames::RESTYPE => '\Sabre\Xml\Deserializer\enum', MStilkerichCardDavClientXmlElementsElementNames::SUPPORTED_REPORT_SET => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeSupportedReportSet'], MStilkerichCardDavClientXmlElementsElementNames::SUPPORTED_ADDRDATA => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeSupportedAddrData'], MStilkerichCardDavClientXmlElementsElementNames::ADDRDATATYPE => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeToAttributes']]
- Deserializers for various child elements of prop.
- $props : array<string, mixed>
- The child elements of this Prop element.
- xmlDeserialize() : mixed
- Deserializes the child elements of a DAV:prop element and creates a new instance of Prop.
- storeProperty() : void
- Processes a deserialized prop child element.
Constants
PROP_DESERIALIZERS
Deserializers for various child elements of prop.
public
array<string, callable|string>
PROP_DESERIALIZERS
= [MStilkerichCardDavClientXmlElementsElementNames::ABOOK_HOME => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefMulti'], MStilkerichCardDavClientXmlElementsElementNames::ADD_MEMBER => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefSingle'], MStilkerichCardDavClientXmlElementsElementNames::CURUSRPRINC => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeHrefSingle'], MStilkerichCardDavClientXmlElementsElementNames::RESTYPE => '\Sabre\Xml\Deserializer\enum', MStilkerichCardDavClientXmlElementsElementNames::SUPPORTED_REPORT_SET => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeSupportedReportSet'], MStilkerichCardDavClientXmlElementsElementNames::SUPPORTED_ADDRDATA => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeSupportedAddrData'], MStilkerichCardDavClientXmlElementsElementNames::ADDRDATATYPE => [MStilkerichCardDavClientXmlElementsDeserializers::class, 'deserializeToAttributes']]
Tags
Properties
$props
The child elements of this Prop element.
public
array<string, mixed>
$props
= []
Maps child element name to a child-element specific value.
Tags
Methods
xmlDeserialize()
Deserializes the child elements of a DAV:prop element and creates a new instance of Prop.
public
static xmlDeserialize(Reader $reader) : mixed
Parameters
- $reader : Reader
Return values
mixed —storeProperty()
Processes a deserialized prop child element.
private
storeProperty(array<string|int, mixed> $deserElem) : void
If the child element is known to this class, the deserialized value is stored to Prop::$props.
Parameters
- $deserElem : array<string|int, mixed>