ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Node.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV;
4
14abstract class Node implements INode {
15
23 function getLastModified() {
24
25 return null;
26
27 }
28
35 function delete() {
36
37 throw new Exception\Forbidden('Permission denied to delete node');
38
39 }
40
48 function setName($name) {
49
50 throw new Exception\Forbidden('Permission denied to rename file');
51
52 }
53
54}
An exception for terminatinating execution or to throw for unit testing.
Node class.
Definition: Node.php:14
setName($name)
Renames the node.
Definition: Node.php:48
getLastModified()
Returns the last modification time as a unix timestamp.
Definition: Node.php:23
The INode interface is the base interface, and the parent class of both ICollection and IFile.
Definition: INode.php:12