6 * This is an alternative collection to the standard ACL principal collection.
7 * This collection adds support for the calendar-proxy-read and
8 * calendar-proxy-write sub-principals, as defined by the caldav-proxy
13 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
14 * @author Evert Pot (http://www.rooftopsolutions.nl/)
15 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
17 class Sabre_CalDAV_Principal_Collection extends Sabre_DAVACL_AbstractPrincipalCollection {
20 * Returns a child object based on principal information
22 * @param array $principalInfo
23 * @return Sabre_CalDAV_Principal_User
25 public function getChildForPrincipal(array $principalInfo) {
27 return new Sabre_CalDAV_Principal_User($this->principalBackend, $principalInfo);