ResponsePropstat
extends Response
in package
Represents XML DAV:response elements with propstat children as PHP objects.
Tags
Table of Contents
- $href : string
- URI the response applies to. MUST contain a URI or a relative reference.
- $propstat : array<int, Propstat>
- Propstat child elements.
- __construct() : mixed
- Constructs a new ResponsePropstat element.
- xmlDeserialize() : Response
- Deserializes the child elements of a DAV:response element and creates a new instance of the proper subclass of Response.
Properties
$href
URI the response applies to. MUST contain a URI or a relative reference.
public
string
$href
$propstat
Propstat child elements.
public
array<int, Propstat>
$propstat
Tags
Methods
__construct()
Constructs a new ResponsePropstat element.
public
__construct(string $href, array<int, Propstat> $propstat) : mixed
Parameters
- $href : string
-
URI the response applies to
- $propstat : array<int, Propstat>
-
Propstat child elements
Tags
Return values
mixed —xmlDeserialize()
Deserializes the child elements of a DAV:response element and creates a new instance of the proper subclass of Response.
public
static xmlDeserialize(Reader $reader) : Response
Parameters
- $reader : Reader