Class: Sabre_DAV_FS_File

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

Class Overview [line 12]

Sabre_DAV_FS_Node
   |
   --Sabre_DAV_FS_File

File class

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


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:

[ Top ]


Class Variables


Class Methods

delete

void delete( )

[line 42]

Delete the current file

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::delete()
Deleted the current node

Parameters:

[ Top ]

get

string get( )

[line 31]

Returns the data

Tags:

  • access - public

Implementation of:
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

Implementation of:
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

Implementation of:
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

Implementation of:
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

Implementation of:
Sabre_DAV_IFile::put()
Updates the data

Parameters:

  • resource $data -

[ Top ]


Class Constants


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