ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\IQuota Interface Reference

IQuota interface. More...

+ Inheritance diagram for Sabre\DAV\IQuota:
+ Collaboration diagram for Sabre\DAV\IQuota:

Public Member Functions

 getQuotaInfo ()
 Returns the quota information. More...
 
- Public Member Functions inherited from Sabre\DAV\ICollection
 createFile ($name, $data=null)
 Creates a new file in the directory. More...
 
 createDirectory ($name)
 Creates a new subdirectory. More...
 
 getChild ($name)
 Returns a specific child node, referenced by its name. More...
 
 getChildren ()
 Returns an array with all the child nodes. More...
 
 childExists ($name)
 Checks if a child-node with the specified name exists. More...
 
- Public Member Functions inherited from Sabre\DAV\INode
 delete ()
 Deleted the current node. More...
 
 getName ()
 Returns the name of the node. More...
 
 setName ($name)
 Renames the node. More...
 
 getLastModified ()
 Returns the last modification time, as a unix timestamp. More...
 

Detailed Description

IQuota interface.

Implement this interface to add the ability to return quota information. The ObjectTree will check for quota information on any given node. If the information is not available it will attempt to fetch the information from the root node.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 16 of file IQuota.php.

Member Function Documentation

◆ getQuotaInfo()

Sabre\DAV\IQuota::getQuotaInfo ( )

Returns the quota information.

This method MUST return an array with 2 values, the first being the total used space, the second the available space (in bytes)

Implemented in Sabre\DAV\FSExt\Directory, and Sabre\DAV\FS\Directory.


The documentation for this interface was generated from the following file: