Class: MyFile

Source Location: /includes/classes/SabreDAV/examples/simplefsserver.php

Class Overview [line 87]

File class

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_File

Sabre_DAV_File::get()
Returns the data
Sabre_DAV_File::getContentType()
Returns the mime-type for a file
Sabre_DAV_File::getETag()
Returns the ETag for a file
Sabre_DAV_File::getSize()
Returns the size of the file, in bytes.
Sabre_DAV_File::put()
Updates the data

Class: Sabre_DAV_Node

Sabre_DAV_Node::delete()
Deleted the current node
Sabre_DAV_Node::getLastModified()
Returns the last modification time
Sabre_DAV_Node::setName()
Renames the node


Class Details

File class

This is a helper class, that should aid in getting file classes setup. Most of its methods are implemented, and throw permission denied exceptions

Tags:

[ Top ]


Class Variables


Class Methods

__construct

MyFile __construct( $myPath)

[line 91]

Parameters:

  • $myPath -

[ Top ]

get

void get( )

[line 103]

Overrides Sabre_DAV_File::get() (Returns the data)

Parameters:

[ Top ]

getName

void getName( )

[line 97]

Parameters:

[ Top ]

getSize

void getSize( )

[line 109]

Overrides Sabre_DAV_File::getSize() (Returns the size of the file, in bytes.)

Parameters:

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:54:08 -0400 by phpDocumentor 1.4.3