Node
Base node-class.
The node class implements the method used by both the File and the Directory classes
- Full name:
\Sabre\DAV\FS\Node
- This class implements:
\Sabre\DAV\INode
- This class is an Abstract class
Properties
path
The path to the current node.
overrideName
The overridden name of the node.
Methods
__construct
Sets up the node, expects a full path name.
If $overrideName is set, this node shows up in the tree under a different name. In this case setName() will be disabled.
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$overrideName |
string |
getName
Returns the name of the node.
setName
Renames the node.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | The new name |
getLastModified
Returns the last modification time, as a unix timestamp.
Automatically generated on 2025-03-18