Interface Sabre_DAV_ICollection

Description

The ICollection Interface

This interface should be implemented by each class that represents a collection

  • 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/ICollection.php (line 14)

Sabre_DAV_INode
   |
   --Sabre_DAV_ICollection
Direct descendents
Class Description
Sabre_DAV_IExtendedCollection The IExtendedCollection interface.
Sabre_DAV_IQuota IQuota interface
Method Summary
bool childExists ( $name)
void createDirectory (string $name)
void createFile (string $name, [resource $data = null])
Sabre_DAV_INode getChild (string $name)
Sabre_DAV_INode[] getChildren ()
Methods
childExists (line 55)

Checks if a child-node with the specified name exists

bool childExists ( $name)
  • $name
createDirectory (line 33)

Creates a new subdirectory

void createDirectory (string $name)
  • string $name
createFile (line 25)

Creates a new file in the directory

data is a readable stream resource

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

Returns a specific child node, referenced by its name

Sabre_DAV_INode getChild (string $name)
  • string $name
getChildren (line 48)

Returns an array with all the child nodes

Sabre_DAV_INode[] getChildren ()

Inherited Methods

Inherited From Sabre_DAV_INode

Sabre_DAV_INode::delete()
Sabre_DAV_INode::getLastModified()
Sabre_DAV_INode::getName()
Sabre_DAV_INode::setName()

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