ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
ProxyWrite principal. More...
Public Member Functions | |
__construct (DAVACL\PrincipalBackend\BackendInterface $principalBackend, array $principalInfo) | |
Creates the object. More... | |
getName () | |
Returns this principals name. More... | |
getLastModified () | |
Returns the last modification time. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
getAlternateUriSet () | |
Returns a list of alternative urls for a principal. More... | |
getPrincipalUrl () | |
Returns the full principal url. More... | |
getGroupMemberSet () | |
Returns the list of group members. More... | |
getGroupMembership () | |
Returns the list of groups this principal is member of. More... | |
setGroupMemberSet (array $principals) | |
Sets a list of group members. More... | |
getDisplayName () | |
Returns the displayname. More... | |
Protected Attributes | |
$principalInfo | |
$principalBackend | |
ProxyWrite principal.
This class represents a principal group, hosted under the main principal. This is needed to implement 'Calendar delegation' support. This class is instantiated by User.
Definition at line 19 of file ProxyWrite.php.
Sabre\CalDAV\Principal\ProxyWrite::__construct | ( | DAVACL\PrincipalBackend\BackendInterface | $principalBackend, |
array | $principalInfo | ||
) |
Creates the object.
Note that you MUST supply the parent principal information.
DAVACL\PrincipalBackend\BackendInterface | $principalBackend | |
array | $principalInfo |
Definition at line 43 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\$principalBackend, and Sabre\CalDAV\Principal\ProxyWrite\$principalInfo.
Sabre\CalDAV\Principal\ProxyWrite::delete | ( | ) |
Deletes the current node.
DAV |
Implements Sabre\DAV\INode.
Definition at line 78 of file ProxyWrite.php.
Sabre\CalDAV\Principal\ProxyWrite::getAlternateUriSet | ( | ) |
Returns a list of alternative urls for a principal.
This can for example be an email address, or ldap url.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 105 of file ProxyWrite.php.
Sabre\CalDAV\Principal\ProxyWrite::getDisplayName | ( | ) |
Returns the displayname.
This should be a human readable name for the principal. If none is available, return the nodename.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 175 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\getName().
Sabre\CalDAV\Principal\ProxyWrite::getGroupMemberSet | ( | ) |
Returns the list of group members.
If this principal is a group, this function should return all member principal uri's for the group.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 130 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\getPrincipalUrl().
Sabre\CalDAV\Principal\ProxyWrite::getGroupMembership | ( | ) |
Returns the list of groups this principal is member of.
If this principal is a member of a (list of) groups, this function should return a list of principal uri's for it's members.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 144 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\getPrincipalUrl().
Sabre\CalDAV\Principal\ProxyWrite::getLastModified | ( | ) |
Returns the last modification time.
Implements Sabre\DAV\INode.
Definition at line 66 of file ProxyWrite.php.
Sabre\CalDAV\Principal\ProxyWrite::getName | ( | ) |
Returns this principals name.
Implements Sabre\DAV\INode.
Definition at line 55 of file ProxyWrite.php.
Referenced by Sabre\CalDAV\Principal\ProxyWrite\getDisplayName(), and Sabre\CalDAV\Principal\ProxyWrite\getPrincipalUrl().
Sabre\CalDAV\Principal\ProxyWrite::getPrincipalUrl | ( | ) |
Returns the full principal url.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 116 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\getName().
Referenced by Sabre\CalDAV\Principal\ProxyWrite\getGroupMemberSet(), Sabre\CalDAV\Principal\ProxyWrite\getGroupMembership(), and Sabre\CalDAV\Principal\ProxyWrite\setGroupMemberSet().
Sabre\CalDAV\Principal\ProxyWrite::setGroupMemberSet | ( | array | $principals | ) |
Sets a list of group members.
If this principal is a group, this method sets all the group members. The list of members is always overwritten, never appended to.
This method should throw an exception if the members could not be set.
array | $principals |
Implements Sabre\DAVACL\IPrincipal.
Definition at line 161 of file ProxyWrite.php.
References Sabre\CalDAV\Principal\ProxyWrite\getPrincipalUrl().
Sabre\CalDAV\Principal\ProxyWrite::setName | ( | $name | ) |
Renames the node.
string | $name | The new name |
DAV |
Implements Sabre\DAV\INode.
Definition at line 91 of file ProxyWrite.php.
|
protected |
Definition at line 33 of file ProxyWrite.php.
Referenced by Sabre\CalDAV\Principal\ProxyWrite\__construct().
|
protected |
Definition at line 26 of file ProxyWrite.php.
Referenced by Sabre\CalDAV\Principal\ProxyWrite\__construct().