Lines Matching refs:href
13 $href = new Href('path');
14 $this->assertEquals('path', $href->getHref());
20 $href = new Href('path');
21 $this->assertEquals('path', $href->getHref());
25 $xml = $this->write(['{DAV:}anything' => $href]);
36 $href = new Href('path', false);
37 $this->assertEquals('path', $href->getHref());
39 $xml = $this->write(['{DAV:}anything' => $href]);
56 $href = $result['value'];
58 $this->assertInstanceOf('Sabre\\DAV\\Xml\\Property\\Href', $href);
60 $this->assertEquals('/bla/path', $href->getHref());
70 $href = $result['value'];
71 $this->assertNull($href);
80 $href = $result['value'];
81 $this->assertNull($href);
90 $href = new Href('http://example.org/?a&b', false);
93 $xml = $this->write(['{DAV:}anything' => $href]);
104 $href = new Href([
116 '<a href="/foo/bar">/foo/bar</a><br />' .
117 '<a href="/base/foo/bar">/base/foo/bar</a><br />' .
118 '<a href="http://example.org/bar">http://example.org/bar</a>';
119 $this->assertEquals($expected, $href->toHtml($html));