Class Sabre_DAV_FS_Directory

Description

Implements interfaces:

Directory class

  • 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/FS/Directory.php (line 12)

Sabre_DAV_FS_Node
   |
   --Sabre_DAV_FS_Directory
Method Summary
bool childExists (string $name)
void createDirectory (string $name)
void createFile (string $name, [resource $data = null])
void delete ()
Sabre_DAV_INode getChild (string $name)
Sabre_DAV_INode[] getChildren ()
array getQuotaInfo ()
Variables

Inherited Variables

Inherited from Sabre_DAV_FS_Node

Sabre_DAV_FS_Node::$path
Methods
childExists (line 87)

Checks if a child exists.

  • access: public
bool childExists (string $name)
  • string $name

Implementation of:
Sabre_DAV_ICollection::childExists()
Checks if a child-node with the specified name exists
createDirectory (line 36)

Creates a new subdirectory

  • access: public
void createDirectory (string $name)
  • string $name

Implementation of:
Sabre_DAV_ICollection::createDirectory()
Creates a new subdirectory
createFile (line 23)

Creates a new file in the directory

data is a readable stream resource

  • access: public
void createFile (string $name, [resource $data = null])
  • string $name: Name of the file
  • resource $data: Initial payload

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

Deletes all files in this directory, and then itself

  • access: public
void delete ()

Implementation of:
Sabre_DAV_INode::delete()
Deleted the current node
getChild (line 50)

Returns a specific child node, referenced by its name

  • throws: Sabre_DAV_Exception_FileNotFound
  • access: public
Sabre_DAV_INode getChild (string $name)
  • string $name

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

Returns an array with all the child nodes

  • access: public
Sabre_DAV_INode[] getChildren ()

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

Returns available diskspace information

  • access: public
array getQuotaInfo ()

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

Inherited Methods

Inherited From Sabre_DAV_FS_Node

Sabre_DAV_FS_Node::__construct()
Sabre_DAV_FS_Node::getLastModified()
Sabre_DAV_FS_Node::getName()
Sabre_DAV_FS_Node::setName()

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