]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/lib/Sabre/DAV/INode.php
Merge pull request #73 from CatoTH/master
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / DAV / INode.php
1 <?php
2
3 /**
4  * The INode interface is the base interface, and the parent class of both ICollection and IFile
5  *
6  * @package Sabre
7  * @subpackage DAV
8  * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
9  * @author Evert Pot (http://www.rooftopsolutions.nl/)
10  * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
11  */
12 interface Sabre_DAV_INode {
13
14     /**
15      * Deleted the current node
16      *
17      * @return void
18      */
19     function delete();
20
21     /**
22      * Returns the name of the node.
23      *
24      * This is used to generate the url.
25      *
26      * @return string
27      */
28     function getName();
29
30     /**
31      * Renames the node
32      *
33      * @param string $name The new name
34      * @return void
35      */
36     function setName($name);
37
38     /**
39      * Returns the last modification time, as a unix timestamp
40      *
41      * @return int
42      */
43     function getLastModified();
44
45 }
46