Home
last modified time | relevance | path

Searched refs:propFind (Results 1 – 25 of 49) sorted by last modified time

12

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DSyncTokenPropertyTest.php16 $propFind = new PropFind('foo', [
21 $propFind->set($name, $value);
23 $corePlugin->propFindLate($propFind, new SimpleCollection('hi'));
25 $this->assertEquals("hello", $propFind->get('{http://calendarserver.org/ns/}getctag'));
46 $propFind = new PropFind('foo', [
52 $corePlugin->propFindLate($propFind, new SimpleCollection('hi'));
54 $this->assertEquals("hello", $propFind->get('{http://calendarserver.org/ns/}getctag'));
70 $propFind = new PropFind('foo', [
75 $corePlugin->propFindLate($propFind, new SimpleCollection('hi'));
77 $this->assertNull($propFind->get('{http://calendarserver.org/ns/}getctag'));
H A DPropFindTest.php10 $propFind->handle('{DAV:}displayname', 'foobar');
15 ], $propFind->getResultForMultiStatus());
27 ], $propFind->getResultForMultiStatus());
37 ], $propFind->getResultForMultiStatus());
44 $propFind->set('{DAV:}displayname', 'bar');
49 ], $propFind->getResultForMultiStatus());
56 $propFind->set('{DAV:}customproperty', 'bar');
60 ], $propFind->getResultForMultiStatus());
67 $propFind->set('{DAV:}displayname', 'bar');
68 $propFind->set('{DAV:}displayname', null);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DBlockAccessTest.php167 $propFind = new DAV\PropFind('testdir', [
174 $r = $this->server->emit('propFind', [$propFind, new DAV\SimpleCollection('testdir')]);
188 $this->assertEquals($expected, $propFind->getResultForMultiStatus());
195 $propFind = new DAV\PropFind('testdir', [
202 $r = $this->server->emit('propFind', [$propFind, new DAV\SimpleCollection('testdir')]);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Schedule/
H A DPlugin.php196 * @param PropFind $propFind
200 function propFind(PropFind $propFind, INode $node) { function in Sabre\\CalDAV\\Schedule\\Plugin
208 …$propFind->handle('{' . self::NS_CALDAV . '}schedule-outbox-URL', function() use ($principalUrl, $…
217 …$propFind->handle('{' . self::NS_CALDAV . '}schedule-inbox-URL', function() use ($principalUrl, $c…
226 …$propFind->handle('{' . self::NS_CALDAV . '}schedule-default-calendar-URL', function() use ($princ…
255 $propFind->handle('{' . self::NS_CALDAV . '}calendar-user-type', function() {
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DSharingPlugin.php115 function propFindEarly(DAV\PropFind $propFind, DAV\INode $node) { argument
119 $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}invite', function() use ($node) {
129 … $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}shared-url', function() use ($node) {
135 $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}invite', function() use ($node) {
180 function propFindLate(DAV\PropFind $propFind, DAV\INode $node) { argument
183 if ($rt = $propFind->get('{DAV:}resourcetype')) {
188 … $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}allowed-sharing-modes', function() {
H A DPlugin.php309 function propFind(DAV\PropFind $propFind, DAV\INode $node) { function in Sabre\\CalDAV\\Plugin
315 $propFind->handle($ns . 'max-resource-size', $this->maxResourceSize);
316 $propFind->handle($ns . 'supported-calendar-data', function() {
319 $propFind->handle($ns . 'supported-collation-set', function() {
329 … $propFind->handle('{' . self::NS_CALDAV . '}calendar-home-set', function() use ($principalUrl) {
337 … $propFind->handle('{' . self::NS_CALDAV . '}calendar-user-address-set', function() use ($node) {
360 … if ($propFind->getStatus($propRead) === 404 || $propFind->getStatus($propWrite) === 404) {
363 $membership = $aclPlugin->getPrincipalMembership($propFind->getPath());
385 $propFind->set($propRead, new Href($readList));
386 $propFind->set($propWrite, new Href($writeList));
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Subscriptions/
H A DPlugin.php62 * @param PropFind $propFind
66 function propFind(PropFind $propFind, INode $node) { function in Sabre\\CalDAV\\Subscriptions\\Plugin
78 if ($propFind->getStatus($prop) === 200) {
79 $propFind->set($prop, '', 200);
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/
H A DPlugin.php337 $propFind = new PropFindAll($path);
338 $properties = $this->server->getPropertiesByNode($propFind, $node);
340 $properties = $propFind->getResultForMultiStatus()[200];
H A DGuessContentType.php69 * @param PropFind $propFind
73 function propFind(PropFind $propFind, INode $node) { argument
75 $propFind->handle('{DAV:}getcontenttype', function() use ($propFind) {
77 list(, $fileName) = URLUtil::splitPath($propFind->getPath());
/plugin/davcal/vendor/sabre/dav/lib/DAV/Locks/
H A DPlugin.php94 function propFind(DAV\PropFind $propFind, DAV\INode $node) { function in Sabre\\DAV\\Locks\\Plugin
96 $propFind->handle('{DAV:}supportedlock', function() {
99 $propFind->handle('{DAV:}lockdiscovery', function() use ($propFind) {
101 $this->getLocks($propFind->getPath())
/plugin/davcal/vendor/sabre/dav/lib/DAV/PropertyStorage/Backend/
H A DBackendInterface.php34 * @param PropFind $propFind
37 function propFind($path, PropFind $propFind); function
H A DPDO.php70 * @param PropFind $propFind
73 function propFind($path, PropFind $propFind) { function in Sabre\\DAV\\PropertyStorage\\Backend\\PDO
75 if (!$propFind->isAllProps() && count($propFind->get404Properties()) === 0) {
87 $propFind->set($row['name'], $row['value']);
90 $propFind->set($row['name'], new Complex($row['value']));
93 $propFind->set($row['name'], unserialize($row['value']));
/plugin/davcal/vendor/sabre/dav/lib/DAV/PropertyStorage/
H A DPlugin.php77 * @param PropFind $propFind
81 function propFind(PropFind $propFind, INode $node) { function in Sabre\\DAV\\PropertyStorage\\Plugin
83 $path = $propFind->getPath();
86 $this->backend->propFind($propFind->getPath(), $propFind);
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DServer.php840 * @param PropFind $propFind
845 $newDepth = $propFind->getDepth();
846 $path = $propFind->getPath();
853 $subPropFind = clone $propFind;
901 $propFind,
913 list($propFind, $node) = $propFindRequest;
914 $r = $this->getPropertiesByNode($propFind, $node);
917 $result['href'] = $propFind->getPath();
959 $propFind = new PropFind($path, $propertyNames);
988 * @param PropFind $propFind
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAV/Sync/
H A DPlugin.php208 function propFind(DAV\PropFind $propFind, DAV\INode $node) { function in Sabre\\DAV\\Sync\\Plugin
210 $propFind->handle('{DAV:}sync-token', function() use ($node) {
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/
H A DPlugin.php839 function propFind(DAV\PropFind $propFind, DAV\INode $node) { function in Sabre\\DAVACL\\Plugin
841 $path = $propFind->getPath();
856 $propFind->set($requestedProperty, null, 403);
869 $propFind->handle('{DAV:}principal-URL', function() use ($node) {
890 $propFind->handle('{DAV:}principal-collection-set', function() {
898 $propFind->handle('{DAV:}current-user-principal', function() {
908 … $propFind->handle('{DAV:}current-user-privilege-set', function() use ($node, $propFind, $path) {
918 $propFind->handle('{DAV:}acl', function() use ($node, $propFind, $path) {
921 $propFind->set('{DAV:}acl', null, 403);
929 $propFind->handle('{DAV:}acl-restrictions', function() {
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Notifications/
H A DPluginTest.php105 $propFind = new DAV\PropFind('calendars/user1/notifications', [
109 $this->plugin->propFind($propFind, $notification);
113 $propFind->get('{' . Plugin::NS_CALENDARSERVER . '}notificationtype')
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DScheduleDeliverTest.php392 $this->server->on('propFind', function($propFind) {
393 $propFind->set('{' . Plugin::NS_CALDAV . '}schedule-inbox-URL', null, 403);
428 $this->server->on('propFind', function($propFind) {
429 $propFind->set('{' . Plugin::NS_CALDAV . '}calendar-home-set', null, 403);
463 $this->server->on('propFind', function($propFind) {
464 $propFind->set('{' . Plugin::NS_CALDAV . '}schedule-default-calendar-URL', null, 403);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Subscriptions/
H A DPluginTest.php40 $propFind = new PropFind('foo', [$propName]);
41 $propFind->set($propName,null,200);
44 $plugin->propFind($propFind, new \Sabre\DAV\SimpleCollection('hi'));
46 $this->assertFalse(is_null($propFind->get($propName)));
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DPluginTest.php74 $propFind = new DAV\PropFind('addressbooks/user1/book1', [
79 $this->plugin->propFindEarly($propFind, $node);
83 $propFind->get($ns . 'supported-address-data')
87 $propFind->get($ns . 'supported-collation-set')
H A DSogoStripContentTypeTest.php49 $propFind = new PropFind('hello', ['{DAV:}getcontenttype']);
50 $propFind->set('{DAV:}getcontenttype', 'text/plain');
51 $this->carddavPlugin->propFindLate($propFind, new \Sabre\DAV\SimpleCollection('foo'));
52 $this->assertEquals('text/plain', $propFind->get('{DAV:}getcontenttype'));
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/Backend/
H A DAbstractPDOTest.php29 $backend->propFind('dir', $propFind);
41 $backend->propFind('dir', $propFind);
59 $backend->propFind('dir', $propFind);
79 $backend->propFind('dir', $propFind);
100 $backend->propFind('dir', $propFind);
118 $backend->propFind('dir', $propFind);
133 $backend->propFind('dir', $propFind);
154 $backend->propFind('dir', $propFind);
159 $backend->propFind('dir/child', $propFind);
164 $backend->propFind('dir2', $propFind);
[all …]
H A DMock.php23 * @param PropFind $propFind
26 public function propFind($path, PropFind $propFind) { function in Sabre\\DAV\\PropertyStorage\\Backend\\Mock
33 $propFind->set($name, $value);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Notifications/
H A DPlugin.php70 $server->on('propFind', [$this, 'propFind']);
/plugin/davcal/vendor/sabre/dav/lib/CardDAV/
H A DPlugin.php139 function propFindEarly(DAV\PropFind $propFind, DAV\INode $node) { argument
145 $propFind->handle($ns . 'max-resource-size', $this->maxResourceSize);
146 $propFind->handle($ns . 'supported-address-data', function() {
149 $propFind->handle($ns . 'supported-collation-set', function() {
156 $path = $propFind->getPath();
158 … $propFind->handle('{' . self::NS_CARDDAV . '}addressbook-home-set', function() use ($path) {
162 …if ($this->directories) $propFind->handle('{' . self::NS_CARDDAV . '}directory-gateway', function(…
173 $propFind->handle('{' . self::NS_CARDDAV . '}address-data', function() use ($node) {
662 function propFindLate(DAV\PropFind $propFind, DAV\INode $node) { argument
671 $contentType = $propFind->get('{DAV:}getcontenttype');
[all …]

12