Home
last modified time | relevance | path

Searched refs:principal (Results 1 – 25 of 55) sorted by relevance

123

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DPrincipalTest.php14 $this->assertTrue($principal instanceof Principal);
24 $principal = new Principal($principalBackend, array());
32 $this->assertEquals('admin',$principal->getName());
42 $principal = new Principal($principalBackend, array(
53 $principal = new Principal($principalBackend, array(
65 $props = $principal->getProperties($keys);
81 $result = $principal->propPatch($propPatch);
98 $principal = new Principal($principalBackend, array(
171 $this->assertNull($principal->getGroup());
185 ),$principal->getACL());
[all …]
H A DPluginPropertiesTest.php150 $principal = new MockPrincipal('admin','principals/admin'),
188 $principal = new MockPrincipal('admin','principals/admin'),
218 $principal = new MockPrincipal('user','principals/user'),
246 $principal = new MockPrincipal('user','principals/user'),
275 $principal = new MockPrincipal('user','principals/user'),
304 $principal = new MockPrincipal('user','principals/user'),
331 $principal = new MockPrincipal('user','principals/user'),
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalBackend/
H A DMock.php44 foreach ($this->principals as $principal) {
48 $return[] = $principal;
56 function addPrincipal(array $principal) { argument
58 $this->principals[] = $principal;
65 if ($principal['uri'] === $path) return $principal;
77 if (!isset($principal[$key])) {
92 $matches[] = $principal['uri'];
141 $principal = $value;
145 if (!$principal) return;
152 unset($principal[$prop]);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Xml/Property/
H A DPrincipalTest.php14 $principal = new Principal(Principal::UNAUTHENTICATED);
16 $this->assertNull($principal->getHref());
18 $principal = new Principal(Principal::AUTHENTICATED);
20 $this->assertNull($principal->getHref());
22 $principal = new Principal(Principal::HREF, 'admin');
24 $this->assertEquals('admin/', $principal->getHref());
34 $principal = new Principal(Principal::HREF);
93 $principal = $this->parse($xml);
106 $principal = $this->parse($xml);
118 $principal = $this->parse($xml);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/PrincipalBackend/
H A DPDO.php111 $principal = [
119 $principals[] = $principal;
151 $principal = [
160 return $principal;
286 * @param string $principal
291 $principal = $this->getPrincipalByPath($principal);
295 $stmt->execute([$principal['id']]);
308 * @param string $principal
313 $principal = $this->getPrincipalByPath($principal);
317 $stmt->execute([$principal['id']]);
[all …]
H A DBackendInterface.php117 * @param string $principal
120 function getGroupMemberSet($principal); argument
125 * @param string $principal
128 function getGroupMembership($principal); argument
135 * @param string $principal
139 function setGroupMemberSet($principal, array $members); argument
/plugin/webdav/vendor/sabre/dav/lib/DAVACL/PrincipalBackend/
H A DPDO.php111 $principal = [
119 $principals[] = $principal;
151 $principal = [
160 return $principal;
331 * @param string $principal
336 $principal = $this->getPrincipalByPath($principal);
340 $stmt->execute([$principal['id']]);
353 * @param string $principal
358 $principal = $this->getPrincipalByPath($principal);
362 $stmt->execute([$principal['id']]);
[all …]
H A DBackendInterface.php117 * @param string $principal
120 function getGroupMemberSet($principal); argument
125 * @param string $principal
128 function getGroupMembership($principal); argument
135 * @param string $principal
139 function setGroupMemberSet($principal, array $members); argument
/plugin/webdav/vendor/sabre/dav/lib/DAVACL/Xml/Property/
H A DAcl.php190 $principal = $ace['{DAV:}principal'];
192 switch ($principal->getType()) {
194 $principal = $principal->getHref();
197 $principal = '{DAV:}authenticated';
200 $principal = '{DAV:}unauthenticated';
203 $principal = '{DAV:}all';
220 'principal' => $principal,
247 $principal = new Principal(Principal::AUTHENTICATED);
250 $principal = new Principal(Principal::UNAUTHENTICATED);
253 $principal = new Principal(Principal::ALL);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/Xml/Property/
H A DAcl.php190 $principal = $ace['{DAV:}principal'];
192 switch ($principal->getType()) {
194 $principal = $principal->getHref();
197 $principal = '{DAV:}authenticated';
200 $principal = '{DAV:}unauthenticated';
203 $principal = '{DAV:}all';
220 'principal' => $principal,
247 $principal = new Principal(Principal::AUTHENTICATED);
250 $principal = new Principal(Principal::UNAUTHENTICATED);
253 $principal = new Principal(Principal::ALL);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/
H A DMock.php16 public $principal = 'principals/admin'; variable in Sabre\\DAV\\Auth\\Backend\\Mock
18 function setPrincipal($principal) { argument
20 $this->principal = $principal;
60 return [true, $this->principal];
/plugin/davcal/
H A DprincipalBackendDokuwiki.php17 $principal = 'principals/'.$user;
18 if(strpos($principal, $prefixPath) === 0)
51 public function getGroupMemberSet($principal) argument
56 public function getGroupMemberShip($principal) argument
61 public function setGroupMemberSet($principal, array $members) argument
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DCalendarRoot.php71 * @param array $principal
74 function getChildForPrincipal(array $principal) { argument
76 return new CalendarHome($this->caldavBackend, $principal);
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/
H A DCalendarRoot.php71 * @param array $principal
74 function getChildForPrincipal(array $principal) { argument
76 return new CalendarHome($this->caldavBackend, $principal);
/plugin/webdav/vendor/sabre/dav/lib/CardDAV/
H A DAddressBookRoot.php71 * @param array $principal
74 function getChildForPrincipal(array $principal) { argument
76 return new AddressBookHome($this->carddavBackend, $principal['uri']);
/plugin/davcal/vendor/sabre/dav/lib/CardDAV/
H A DAddressBookRoot.php71 * @param array $principal
74 function getChildForPrincipal(array $principal) { argument
76 return new AddressBookHome($this->carddavBackend, $principal['uri']);
/plugin/webdav/vendor/sabre/dav/lib/DAVACL/
H A DPrincipalCollection.php30 * @param array $principal
33 function getChildForPrincipal(array $principal) { argument
35 return new Principal($this->principalBackend, $principal);
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/
H A DPrincipalCollection.php29 * @param array $principal
32 function getChildForPrincipal(array $principal) { argument
34 return new Principal($this->principalBackend, $principal);
H A DPlugin.php272 * @param string $principal
287 $principal = array_shift($check);
289 $node = $this->server->tree->getNodeForPath($principal);
517 $principal = $ace['principal'];
519 switch ($principal) {
1074 $principal = $this->server->tree->getNodeForPath($newAce['principal']);
1078 if (!($principal instanceof IPrincipal)) {
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Xml/Notification/
H A DInviteTest.php49 'organizer' => 'principal/user1',
87 'organizer' => 'principal/user1',
122 'organizer' => 'principal/user1',
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/
H A DProxyWriteTest.php11 $principal = new ProxyWrite($backend, array(
15 return $principal;
H A DProxyReadTest.php13 $principal = new ProxyRead($backend, array(
17 return $principal;
/plugin/webdav/vendor/sabre/dav/lib/DAV/Sharing/
H A DPlugin.php136 $principal = null;
137 $this->server->emit('getPrincipalByUri', [$sharee->href, &$principal]);
138 $sharee->principal = $principal;
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Principal/
H A DUser.php56 … $principal = $this->principalBackend->getPrincipalByPath($this->getPrincipalURL() . '/' . $name);
57 if (!$principal) {
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Principal/
H A DUser.php56 … $principal = $this->principalBackend->getPrincipalByPath($this->getPrincipalURL() . '/' . $name);
57 if (!$principal) {

123