Class: Sabre_DAV_Tree_Filesystem

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

Class Overview [line 12]

Sabre_DAV_Tree
   |
   --Sabre_DAV_Tree_Filesystem

Sabre_DAV_Tree_Filesystem

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_Tree

Sabre_DAV_Tree::copy()
Copies a file from path to another
Sabre_DAV_Tree::copyNode()
copyNode
Sabre_DAV_Tree::getNodeForPath()
This function must return an INode object for a path If a Path doesn't exist, thrown an Exception_FileNotFound
Sabre_DAV_Tree::move()
Moves a file from one location to another


Class Details

Sabre_DAV_Tree_Filesystem

Tags:

[ Top ]


Class Variables

$basePath

[line 19]

Base url on the filesystem.

Tags:

  • access - protected

Type: string

Overrides:

[ Top ]


Class Methods

__construct

void __construct( string $basePath)

[line 29]

Creates this tree

Supply the path you'd like to share.

Tags:

  • access - public

Parameters:

  • string $basePath -

[ Top ]

copy

void copy( string $source, string $destination)

[line 75]

Copies a file or directory.

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

Tags:

  • access - public

Overrides Sabre_DAV_Tree::copy() (Copies a file from path to another)

Parameters:

  • string $source -
  • string $destination -

[ Top ]

getNodeForPath

void getNodeForPath( string $path)

[line 41]

Returns a new node for the given path

Tags:

  • access - public

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

Parameters:

  • string $path -

[ Top ]

getRealPath

string getRealPath( string $publicPath)

[line 59]

Returns the real filesystem path for a webdav url.

Tags:

  • access - protected

Parameters:

  • string $publicPath -

[ Top ]

move

void move( string $source, string $destination)

[line 115]

Moves a file or directory recursively.

If the destination exists, delete it first.

Tags:

  • access - public

Overrides Sabre_DAV_Tree::move() (Moves a file from one location to another)

Parameters:

  • string $source -
  • string $destination -

[ Top ]

realCopy

void realCopy( string $source, string $destination)

[line 90]

Used by self::copy

Tags:

  • access - protected

Parameters:

  • string $source -
  • string $destination -

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:53:19 -0400 by phpDocumentor 1.4.3