Display information base class.
Instances of classes extending this base class are used inside ezcWebdavTransport to encapsulate response information to be displayed.
Source for this file: /Webdav/src/structs/display_information.php
Version: | //autogentag// |
Child Class | Description |
---|---|
ezcWebdavStringDisplayInformation | Display information with string body. |
ezcWebdavXmlDisplayInformation | Display information. |
ezcWebdavEmptyDisplayInformation | Display information with no body. |
public DOMDocument|sring|null |
$body
Representation of the response body. The concrete data type of this property is defined in the extending classes. |
public ezcWebdavResponse |
$response
Response object to extract headers from. |
public void |
__construct(
$response
, $body
)
Creates a new display information. |
Creates a new display information.
By default an instance of this class carries a ezcWebdavResponse $repsonse object, which holds header information, and a $body. The content of $body depends on the type of display information. Extending classes may possibly not carry a body at all.
Name | Type | Description |
---|---|---|
$response |
ezcWebdavResponse | |
$body |
DOMDocument|string|null |
Method | Description |
---|---|
ezcWebdavStringDisplayInformation::__construct() |
Creates a new display information object. |
ezcWebdavXmlDisplayInformation::__construct() |
Creates a new struct. |
ezcWebdavEmptyDisplayInformation::__construct() |
Creates a new struct. |