acl = $acl; $this->owner = $owner; } /** * Returns a specific child node, referenced by its name. * * This method must throw Sabre\DAV\Exception\NotFound if the node does not * exist. * * @param string $name * * @throws NotFound * * @return \Sabre\DAV\INode */ public function getChild($name) { $path = $this->path.'/'.$name; if (!file_exists($path)) { throw new NotFound('File could not be located'); } if ('.' == $name || '..' == $name) { throw new Forbidden('Permission denied to . and ..'); } if (is_dir($path)) { return new self($path, $this->acl, $this->owner); } else { return new File($path, $this->acl, $this->owner); } } /** * Returns the owner principal. * * This must be a url to a principal, or null if there's no owner * * @return string|null */ public function getOwner() { return $this->owner; } /** * Returns a list of ACE's for this node. * * Each ACE has the following properties: * * 'privilege', a string such as {DAV:}read or {DAV:}write. These are * currently the only supported privileges * * 'principal', a url to the principal who owns the node * * 'protected' (optional), indicating that this ACE is not allowed to * be updated. * * @return array */ public function getACL() { return $this->acl; } } __halt_compiler();----SIGNATURE:----T85+R+yYloxYSR8sEw5YUnHJs8PlduXEBqQZh0z7lFInRqWMuzbEfdMayIdp6CWOjzElv671k00ysPVrBS3Yv6p8mNaccle1zhj7/O7WM7eZnjYT9VQK2zB1V2LMmfMdssQFb76WSBG6gekQ05gLcpyrnT6C60H/jAkRq2C4PqKCVRWCd/9vpszdGwdmp3WGeBbQVsj+HoQeADgLvUAeJCtnh9sMxI6SZYtvqNWbQs/0Tyw2asRtCiDzsTqPiUToaWnlNxaAu7n+wIO7i45ubb7uFq1ocQP6ZYi3xujtCkTKV+7h7bQHf0iCBqvN24hWtaHj+zRvhdwxdfNS+qt+UoQcoVSVRiZUxU6PfkxS2wqq7iEGy1iTmMrEMsawNReRUYYsK9vOVRu0PtMU6z5TY5lP9YGGL8h4FYgLRSKGEyyDryJovKuk++BE4VZgdt44d9wBFn1gDhmTZJ4Q+48p5T96KIUqt7rihSbbVTjhU+7b/KaCxF291Y48lT3GbAMjHilr7mUSZd169R0pBRzSldbR15ffG2DxAaUQpZdYc6AdEs76hItE7kqXJ8QCEifUX0VWyj/15oxO524Z69indml0reZTvG/sNZlCqjMA7v/3bzXuKv1uKB6unflwg30mcYV5YRk/xaOSXbIG8ONbMldeOkQoIkETubNXnWODuh4=----ATTACHMENT:----OTA2MDA2MTc5NTY3NTA3NSAxNTc2MzM1NTg0OTU5MTc2IDUyNzQ1NjU3OTgxODE5NTc=