62 $newPath = $parentPath .
'/' . $newName;
63 rename($this->path, $newPath);
65 $this->path = $newPath;
76 return filemtime($this->path);
getName()
Returns the name of the node.
setName($name)
Renames the node.
The INode interface is the base interface, and the parent class of both ICollection and IFile...
__construct($path)
Sets up the node, expects a full path name.
static splitPath($path)
Returns the 'dirname' and 'basename' for a path.
getLastModified()
Returns the last modification time, as a unix timestamp.