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
File class
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
delete
void delete(
)
[line 42]
Delete the current file
Tags:
- access - public
- Sabre_DAV_INode::delete()
- Deleted the current node
Parameters:
[ Top ]
get
string get(
)
[line 31]
Returns the data
Tags:
- access - public
- Sabre_DAV_IFile::get()
- Returns the data
Parameters:
[ Top ]
getContentType
mixed getContentType(
)
[line 81]
Returns the mime-type for a file
If null is returned, we'll assume application/octet-stream
Tags:
- access - public
- Sabre_DAV_IFile::getContentType()
- Returns the mime-type for a file
Parameters:
[ Top ]
getETag
mixed getETag(
)
[line 68]
Returns the ETag for a file
An ETag is a unique identifier representing the current version of the file. If the file changes, the ETag MUST change.
Return null if the ETag can not effectively be determined
Tags:
- access - public
- Sabre_DAV_IFile::getETag()
- Returns the ETag for a file
Parameters:
[ Top ]
getSize
int getSize(
)
[line 53]
Returns the size of the node, in bytes
Tags:
- access - public
- Sabre_DAV_IFile::getSize()
- Returns the size of the node, in bytes
Parameters:
[ Top ]
put
void put(
resource
$data)
[line 20]
Updates the data
Tags:
- access - public
- Sabre_DAV_IFile::put()
- Updates the data
Parameters:
- resource $data -
[ Top ]