Child classes:
- Sabre_DAV_ObjectTree
- ObjectTree class
- Sabre_DAV_Tree_Filesystem
- Sabre_DAV_Tree_Filesystem
Inherited Variables
Inherited Constants
Inherited Methods
Class Details
Abstract tree object
Tags:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- abstract -
- license - Modified BSD License
[ Top ]
Class Variables
Class Methods
copy
void copy(
string
$sourcePath, string
$destinationPath)
[line 31]
Copies a file from path to another
Tags:
- access - public
Overridden in child classes as:
- Sabre_DAV_Tree_Filesystem::copy()
- Copies a file or directory.
Parameters:
- string $sourcePath - The source location
- string $destinationPath - The full destination path
[ Top ]
copyNode
void copyNode(
Sabre_DAV_INode
$source, Sabre_DAV_ICollection
$destinationParent, [
$destinationName = null], Sabre_DAV_ICollection
$destination)
[line 72]
copyNode
Tags:
- access - protected
Parameters:
- Sabre_DAV_INode $source -
- Sabre_DAV_ICollection $destination -
- Sabre_DAV_ICollection $destinationParent -
- $destinationName -
[ Top ]
getNodeForPath
Sabre_DAV_INode getNodeForPath(
string
$path)
[line 22]
This function must return an INode object for a path If a Path doesn't exist, thrown an Exception_FileNotFound
Tags:
- abstract -
- throws - Exception_FileNotFound
Overridden in child classes as:
- Sabre_DAV_ObjectTree::getNodeForPath()
- Returns the INode object for the requested path
- Sabre_DAV_Tree_Filesystem::getNodeForPath()
- Returns a new node for the given path
Parameters:
- string $path -
[ Top ]
move
int move(
string
$sourcePath, string
$destinationPath)
[line 50]
Moves a file from one location to another
Tags:
- access - public
Overridden in child classes as:
- Sabre_DAV_Tree_Filesystem::move()
- Moves a file or directory recursively.
Parameters:
- string $sourcePath - The path to the file which should be moved
- string $destinationPath - The full destination path, so not just the destination parent node
[ Top ]