Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1821534
Collection.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
833 B
Subscribers
None
Collection.php
View Options
<?php
namespace
Sabre\CalDAV\Principal
;
use
Sabre\DAVACL
;
/**
* Principal collection
*
* This is an alternative collection to the standard ACL principal collection.
* This collection adds support for the calendar-proxy-read and
* calendar-proxy-write sub-principals, as defined by the caldav-proxy
* specification.
*
* @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class
Collection
extends
DAVACL\PrincipalCollection
{
/**
* Returns a child object based on principal information
*
* @param array $principalInfo
* @return User
*/
function
getChildForPrincipal
(
array
$principalInfo
)
{
return
new
User
(
$this
->
principalBackend
,
$principalInfo
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 24, 2:00 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914706
Default Alt Text
Collection.php (833 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment