4 * AclRestrictions property
6 * This property represents {DAV:}acl-restrictions, as defined in RFC3744.
10 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
11 * @author Evert Pot (http://www.rooftopsolutions.nl/)
12 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
14 class Sabre_DAVACL_Property_AclRestrictions extends Sabre_DAV_Property {
17 * Serializes the property into a DOMElement
19 * @param Sabre_DAV_Server $server
20 * @param DOMElement $elem
23 public function serialize(Sabre_DAV_Server $server,DOMElement $elem) {
25 $doc = $elem->ownerDocument;
27 $elem->appendChild($doc->createElementNS('DAV:','d:grant-only'));
28 $elem->appendChild($doc->createElementNS('DAV:','d:no-invert'));