XML element. This struct is used to represent such * information. If the content of the property is an URI, the $isUri property * is set to true. Otherwise it is false. The $content property contains the * plain text content. * * @package Webdav * @version 1.1rc1 */ class ezcWebdavPotentialUriContent extends ezcBaseStruct { /** * Text content. * * @var string */ public $content; /** * If the text content is to be considered an URI. * * @var bool */ public $isUri; /** * Creates a new potential URI content struct. * * @param string $content * @param bool $isUri */ public function __construct( $content = '', $isUri = false ) { $this->content = $content; $this->isUri = $isUri; } /** * Converts the object to a string. * * @return string */ public function __toString() { return $this->content; } } ?>