Class Sabre_DAV_Tree_Filesystem

Description

Sabre_DAV_Tree_Filesystem

  • author: Evert Pot (http://www.rooftopsolutions.nl/)
  • copyright: Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
  • license: Modified BSD License

Located in /sources_custom/Sabre/DAV/Tree/Filesystem.php (line 12)

Sabre_DAV_Tree
   |
   --Sabre_DAV_Tree_Filesystem
Variable Summary
string $basePath
Method Summary
void __construct (string $basePath)
void copy (string $source, string $destination)
void getNodeForPath (string $path)
string getRealPath (string $publicPath)
void move (string $source, string $destination)
void realCopy (string $source, string $destination)
Variables
string $basePath (line 19)

Base url on the filesystem.

  • access: protected
Methods
Constructor __construct (line 29)

Creates this tree

Supply the path you'd like to share.

  • access: public
void __construct (string $basePath)
  • string $basePath
copy (line 75)

Copies a file or directory.

This method must work recursively and delete the destination if it exists

  • access: public
void copy (string $source, string $destination)
  • string $source
  • string $destination

Redefinition of:
Sabre_DAV_Tree::copy()
Copies a file from path to another
getNodeForPath (line 41)

Returns a new node for the given path

  • access: public
void getNodeForPath (string $path)
  • string $path

Redefinition of:
Sabre_DAV_Tree::getNodeForPath()
This function must return an INode object for a path If a Path doesn't exist, thrown an Exception_FileNotFound
getRealPath (line 59)

Returns the real filesystem path for a webdav url.

  • access: protected
string getRealPath (string $publicPath)
  • string $publicPath
move (line 115)

Moves a file or directory recursively.

If the destination exists, delete it first.

  • access: public
void move (string $source, string $destination)
  • string $source
  • string $destination

Redefinition of:
Sabre_DAV_Tree::move()
Moves a file from one location to another
realCopy (line 90)

Used by self::copy

  • access: protected
void realCopy (string $source, string $destination)
  • string $source
  • string $destination

Inherited Methods

Inherited From Sabre_DAV_Tree

Sabre_DAV_Tree::copy()
Sabre_DAV_Tree::copyNode()
Sabre_DAV_Tree::delete()
Sabre_DAV_Tree::getChildren()
Sabre_DAV_Tree::getNodeForPath()
Sabre_DAV_Tree::markDirty()
Sabre_DAV_Tree::move()
Sabre_DAV_Tree::nodeExists()

Documentation generated on Sun, 02 Jan 2011 23:14:35 +0000 by phpDocumentor 1.4.3