Lines Matching refs:this

22         $this->server = new DAV\Server($nodes);
23 $this->plugin = new Plugin();
24 $this->plugin->allowAccessToNodesWithoutACL = false;
25 $this->server->addPlugin($this->plugin);
34 $this->server->httpRequest->setMethod('GET');
35 $this->server->httpRequest->setUrl('/testdir');
37 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
43 $this->server->httpRequest->setMethod('GET');
44 $this->server->httpRequest->setUrl('/foo');
46 …$r = $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]…
47 $this->assertTrue($r);
56 $this->server->httpRequest->setMethod('HEAD');
57 $this->server->httpRequest->setUrl('/testdir');
59 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
68 $this->server->httpRequest->setMethod('OPTIONS');
69 $this->server->httpRequest->setUrl('/testdir');
71 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
80 $this->server->httpRequest->setMethod('PUT');
81 $this->server->httpRequest->setUrl('/testdir');
83 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
92 $this->server->httpRequest->setMethod('PROPPATCH');
93 $this->server->httpRequest->setUrl('/testdir');
95 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
104 $this->server->httpRequest->setMethod('COPY');
105 $this->server->httpRequest->setUrl('/testdir');
107 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
116 $this->server->httpRequest->setMethod('MOVE');
117 $this->server->httpRequest->setUrl('/testdir');
119 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
128 $this->server->httpRequest->setMethod('ACL');
129 $this->server->httpRequest->setUrl('/testdir');
131 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
140 $this->server->httpRequest->setMethod('LOCK');
141 $this->server->httpRequest->setUrl('/testdir');
143 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
152 $this->server->emit('beforeBind', ['testdir/file']);
161 $this->server->emit('beforeUnbind', ['testdir']);
174 $r = $this->server->emit('propFind', [$propFind, new DAV\SimpleCollection('testdir')]);
175 $this->assertTrue($r);
188 $this->assertEquals($expected, $propFind->getResultForMultiStatus());
194 $this->plugin->hideNodesFromListings = true;
202 $r = $this->server->emit('propFind', [$propFind, new DAV\SimpleCollection('testdir')]);
203 $this->assertFalse($r);