Interface: Sabre_DAV_ICollection

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

Interface Overview [line 14]

Sabre_DAV_INode
   |
   --Sabre_DAV_ICollection

The ICollection Interface

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


Child classes:

Sabre_DAV_IDirectory
The IDirectory Interface
Sabre_DAV_IExtendedCollection
The IExtendedCollection interface.
Sabre_DAV_IQuota
IQuota interface

Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_INode

Sabre_DAV_INode::delete()
Deleted the current node
Sabre_DAV_INode::getLastModified()
Returns the last modification time, as a unix timestamp
Sabre_DAV_INode::getName()
Returns the name of the node
Sabre_DAV_INode::setName()
Renames the node


Class Details

The ICollection Interface

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

Tags:

[ Top ]


Class Variables


Class Methods

createDirectory

void createDirectory( string $name)

[line 33]

Creates a new subdirectory

Parameters:

  • string $name -

[ Top ]

createFile

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

[line 25]

Creates a new file in the directory

data is a readable stream resource

Parameters:

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

[ Top ]

getChild

Sabre_DAV_INode getChild( string $name)

[line 41]

Returns a specific child node, referenced by its name

Parameters:

  • string $name -

[ Top ]

getChildren

Sabre_DAV_INode[] getChildren( )

[line 48]

Returns an array with all the child nodes

Parameters:

[ Top ]


Class Constants


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