35 return new Principal($this->principalBackend, $principal);
66 throw new InvalidResourceType(
'Only resources of type {DAV:}principal may be created here');
69 $this->principalBackend->createPrincipal(
70 $this->principalPrefix .
'/' .
$name,
91 'principal' =>
'{DAV:}authenticated',
92 'privilege' =>
'{DAV:}read',
getChildForPrincipal(array $principal)
This method returns a node for a principal.
hasResourceType($resourceType)
Returns true or false if the MKCOL operation has at least the specified resource type.
getACL()
Returns a list of ACE's for this node.
The IExtendedCollection interface.
createExtendedCollection($name, MkCol $mkCol)
Creates a new collection.
This class represents a MKCOL operation.