]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/lib/Sabre/DAV/IQuota.php
Merge branch '3.6-release'
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / DAV / IQuota.php
1 <?php
2
3 /**
4  * IQuota interface
5  *
6  * Implement this interface to add the ability to return quota information. The ObjectTree
7  * will check for quota information on any given node. If the information is not available it will
8  * attempt to fetch the information from the root node.
9  *
10  * @package Sabre
11  * @subpackage DAV
12  * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
13  * @author Evert Pot (http://www.rooftopsolutions.nl/)
14  * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
15  */
16 interface Sabre_DAV_IQuota extends Sabre_DAV_ICollection {
17
18     /**
19      * Returns the quota information
20      *
21      * This method MUST return an array with 2 values, the first being the total used space,
22      * the second the available space (in bytes)
23      */
24     function getQuotaInfo();
25
26 }
27