Class: Sabre_DAV_FS_Directory

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

Class Overview [line 12]

Sabre_DAV_FS_Node
   |
   --Sabre_DAV_FS_Directory

Directory class

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


Implements interfaces

Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_FS_Node

Sabre_DAV_FS_Node::__construct()
Sets up the node, expects a full path name
Sabre_DAV_FS_Node::getLastModified()
Returns the last modification time, as a unix timestamp
Sabre_DAV_FS_Node::getName()
Returns the name of the node
Sabre_DAV_FS_Node::setName()
Renames the node


Class Details

Directory class

Tags:

[ Top ]


Class Variables


Class Methods

createDirectory

void createDirectory( string $name)

[line 36]

Creates a new subdirectory

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::createDirectory()
Creates a new subdirectory

Parameters:

  • string $name -

[ Top ]

createFile

void createFile( string $name, [resource $data = null])

[line 23]

Creates a new file in the directory

data is a readable stream resource

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::createFile()
Creates a new file in the directory

Parameters:

  • string $name - Name of the file
  • resource $data - Initial payload

[ Top ]

delete

void delete( )

[line 86]

Deletes all files in this directory, and then itself

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::delete()
Deleted the current node

Parameters:

[ Top ]

getChild

Sabre_DAV_INode getChild( string $name)

[line 50]

Returns a specific child node, referenced by its name

Tags:

  • throws - Sabre_DAV_Exception_FileNotFound
  • access - public

Implementation of:
Sabre_DAV_ICollection::getChild()
Returns a specific child node, referenced by its name

Parameters:

  • string $name -

[ Top ]

getChildren

Sabre_DAV_INode[] getChildren( )

[line 73]

Returns an array with all the child nodes

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::getChildren()
Returns an array with all the child nodes

Parameters:

[ Top ]

getQuotaInfo

array getQuotaInfo( )

[line 98]

Returns available diskspace information

Tags:

  • access - public

Implementation of:
Sabre_DAV_IQuota::getQuotaInfo()
Returns the quota information

Parameters:

[ Top ]


Class Constants


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