6 * This is a helper class, that should aid in getting nodes setup.
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 abstract class Sabre_DAV_Node implements Sabre_DAV_INode {
17 * Returns the last modification time
19 * In this case, it will simply return the current time
23 public function getLastModified() {
30 * Deletes the current node
32 * @throws Sabre_DAV_Exception_Forbidden
35 public function delete() {
37 throw new Sabre_DAV_Exception_Forbidden('Permission denied to delete node');
44 * @throws Sabre_DAV_Exception_Forbidden
45 * @param string $name The new name
48 public function setName($name) {
50 throw new Sabre_DAV_Exception_Forbidden('Permission denied to rename file');