Class: Sabre_DAV_FSExt_File

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

Class Overview [line 12]

Sabre_DAV_FS_Node
   |
   --Sabre_DAV_FSExt_Node
      |
      --Sabre_DAV_FSExt_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_FSExt_Node

Sabre_DAV_FSExt_Node::delete()
Sabre_DAV_FSExt_Node::deleteResourceData()
Sabre_DAV_FSExt_Node::getLocks()
Returns all the locks on this node
Sabre_DAV_FSExt_Node::getProperties()
Returns a list of properties for this nodes.;
Sabre_DAV_FSExt_Node::getResourceData()
Returns all the stored resource information
Sabre_DAV_FSExt_Node::getResourceInfoPath()
Returns the path to the resource file
Sabre_DAV_FSExt_Node::lock()
Locks this node
Sabre_DAV_FSExt_Node::putResourceData()
Updates the resource information
Sabre_DAV_FSExt_Node::setName()
Renames the node
Sabre_DAV_FSExt_Node::unlock()
Removes a lock from this node
Sabre_DAV_FSExt_Node::updateProperties()
Updates properties on this node,

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 44]

Delete the current file

Tags:

  • access - public

Overrides Sabre_DAV_FSExt_Node::delete() (parent method not documented)


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

Parameters:

[ Top ]

get

string get( )

[line 33]

Returns the data

Tags:

  • access - public

Implementation of:
Sabre_DAV_IFile::get()
Returns the data

Parameters:

[ Top ]

getContentType

void getContentType( )

[line 69]

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

void getETag( )

[line 58]

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 80]

Returns the size of the file, 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 22]

Updates the data

data is a readable stream resource.

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