]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/tests/Sabre/DAVACL/MockACLNode.php
Merge branch 'master' of git://github.com/friendica/friendica-addons
[friendica-addons.git] / dav / SabreDAV / tests / Sabre / DAVACL / MockACLNode.php
1 <?php
2
3 class Sabre_DAVACL_MockACLNode extends Sabre_DAV_Node implements Sabre_DAVACL_IACL {
4
5     public $name;
6     public $acl;
7
8     function __construct($name, array $acl = array()) {
9
10         $this->name = $name;
11         $this->acl = $acl;
12
13     }
14
15     function getName() {
16
17         return $this->name;
18
19     }
20
21     function getOwner() {
22
23         return null;
24
25     }
26
27     function getGroup() {
28
29         return null;
30
31     }
32
33     function getACL() {
34
35         return $this->acl;
36
37     }
38
39     function setACL(array $acl) {
40
41         $this->acl = $acl;
42
43     }
44
45     function getSupportedPrivilegeSet() {
46
47         return null;
48
49     }
50
51 }