Class: Sabre_DAV_Tree

Source Location: /includes/classes/SabreDAV/lib/Sabre/DAV/Tree.php

Class Overview [line 12]


Abstract tree object

Author(s):

  • Evert Pot (http://www.rooftopsolutions.nl/)

Version:

Copyright:

  • Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.

Variables

Constants

Methods


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:

[ 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:

[ 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 ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:54:14 -0400 by phpDocumentor 1.4.3