61 return $this->hrefs[0];
97 foreach ($this->
getHrefs() as $href) {
121 foreach ($this->
getHrefs() as $href) {
124 return implode(
'<br />',
$links);
152 foreach ((array)
$reader->parseInnerTree() as $elem) {
153 if ($elem[
'name'] !==
'{DAV:}href')
156 $hrefs[] = $elem[
'value'];
160 return new self(
$hrefs,
false);
An exception for terminatinating execution or to throw for unit testing.
This class provides a few utility functions for easily generating HTML for the browser plugin.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
__construct($hrefs)
Constructor.
getHref()
Returns the first Href.
toHtml(HtmlOutputHelper $html)
Generate html representation for this value.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
getHrefs()
Returns the hrefs as an array.
The Reader class expands upon PHP's built-in XMLReader.
writeElement($name, $content=null)
Write a full element tag and it's contents.
WebDAV properties that implement this interface are able to generate their own html output for the br...
This is the XML element interface.
resolve($basePath, $newPath)
This file contains all the uri handling functions.