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:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- license - Modified BSD License
[ 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 ]