1*a1a3b679SAndreas Boehler<?php 2*a1a3b679SAndreas Boehler 3*a1a3b679SAndreas Boehlernamespace Sabre\DAV; 4*a1a3b679SAndreas Boehler 5*a1a3b679SAndreas Boehler/** 6*a1a3b679SAndreas Boehler * IQuota interface 7*a1a3b679SAndreas Boehler * 8*a1a3b679SAndreas Boehler * Implement this interface to add the ability to return quota information. The ObjectTree 9*a1a3b679SAndreas Boehler * will check for quota information on any given node. If the information is not available it will 10*a1a3b679SAndreas Boehler * attempt to fetch the information from the root node. 11*a1a3b679SAndreas Boehler * 12*a1a3b679SAndreas Boehler * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). 13*a1a3b679SAndreas Boehler * @author Evert Pot (http://evertpot.com/) 14*a1a3b679SAndreas Boehler * @license http://sabre.io/license/ Modified BSD License 15*a1a3b679SAndreas Boehler */ 16*a1a3b679SAndreas Boehlerinterface IQuota extends ICollection { 17*a1a3b679SAndreas Boehler 18*a1a3b679SAndreas Boehler /** 19*a1a3b679SAndreas Boehler * Returns the quota information 20*a1a3b679SAndreas Boehler * 21*a1a3b679SAndreas Boehler * This method MUST return an array with 2 values, the first being the total used space, 22*a1a3b679SAndreas Boehler * the second the available space (in bytes) 23*a1a3b679SAndreas Boehler */ 24*a1a3b679SAndreas Boehler function getQuotaInfo(); 25*a1a3b679SAndreas Boehler 26*a1a3b679SAndreas Boehler} 27