From da6eecd03111660ae12221265986ba4b10b155dd Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Wed, 4 Mar 2015 10:15:16 +0100 Subject: remove Doxygen API Documentation from repository. This removes around 14MB and can get easily generate locally by doxygen util/Doxyfile when needed. Restructured .gitignore a bit and some additions like zotshrc, etc. Fixed a typo in doc/main.bb --- doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html | 479 ---------------------- 1 file changed, 479 deletions(-) delete mode 100644 doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html (limited to 'doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html') diff --git a/doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html b/doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html deleted file mode 100644 index 1f48aa7b7..000000000 --- a/doc/html/classRedMatrix_1_1RedDAV_1_1RedFile.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - -The Red Matrix: RedMatrix\RedDAV\RedFile Class Reference - - - - - - - - - - - - - -
-
- - - - - - - -
-
The Red Matrix -
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
RedMatrix\RedDAV\RedFile Class Reference
-
-
- -

This class represents a file in DAV. - More...

-
-Inheritance diagram for RedMatrix\RedDAV\RedFile:
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 __construct ($name, $data, &$auth)
 
 getName ()
 Returns the name of the file. More...
 
 setName ($newName)
 Renames the file. More...
 
 put ($data)
 Updates the data of the file. More...
 
 get ()
 Returns the raw data. More...
 
 getETag ()
 Returns the ETag for a file. More...
 
 getContentType ()
 Returns the mime-type for a file. More...
 
 getSize ()
 Returns the size of the node, in bytes. More...
 
 getLastModified ()
 Returns the last modification time for the file, as a unix timestamp. More...
 
 delete ()
 Delete the file. More...
 
- - - - - - - -

-Private Attributes

 $data
 
 $auth
 
 $name
 
-

Detailed Description

-

This class represents a file in DAV.

-

It provides all functions to work with files in Red's cloud through DAV protocol.

-

http://opensource.org/licenses/mit-license.php The MIT License (MIT)

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
RedMatrix\RedDAV\RedFile::__construct ( $name,
 $data,
$auth 
)
-
-

Sets up the node, expects a full path name.

-
Parameters
- - - - -
string$name
array$datafrom attach table
&$auth
-
-
- -
-
-

Member Function Documentation

- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::delete ()
-
- -

Delete the file.

-

This method checks the permissions and then calls attach_delete() function to actually remove the file.

-
Exceptions
- - -
\Sabre\DAV\Exception\Forbidden
-
-
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::get ()
-
- -

Returns the raw data.

-
Returns
string
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::getContentType ()
-
- -

Returns the mime-type for a file.

-

If null is returned, we'll assume application/octet-stream

-
Returns
mixed
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::getETag ()
-
- -

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. The ETag is an arbitrary string, but MUST be surrounded by double-quotes.

-

Return null if the ETag can not effectively be determined.

-
Returns
null|string
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::getLastModified ()
-
- -

Returns the last modification time for the file, as a unix timestamp.

-
Returns
int last modification time in UNIX timestamp
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::getName ()
-
- -

Returns the name of the file.

-
Returns
string
- -
-
- -
-
- - - - - - - -
RedMatrix\RedDAV\RedFile::getSize ()
-
- -

Returns the size of the node, in bytes.

-
Returns
int filesize in bytes
- -
-
- -
-
- - - - - - - - -
RedMatrix\RedDAV\RedFile::put ( $data)
-
- -

Updates the data of the file.

-
Parameters
- - -
resource$data
-
-
-
Returns
void
- -
-
- -
-
- - - - - - - - -
RedMatrix\RedDAV\RedFile::setName ( $newName)
-
- -

Renames the file.

-
Exceptions
- - -
Sabre\DAV\Exception\Forbidden
-
-
-
Parameters
- - -
string$nameThe new name of the file.
-
-
-
Returns
void
- -
-
-

Member Data Documentation

- -
-
- - - - - -
- - - - -
RedMatrix\RedDAV\RedFile::$auth
-
-private
-
-
- -
-
- - - - - -
- - - - -
RedMatrix\RedDAV\RedFile::$data
-
-private
-
-
- -
-
- - - - - -
- - - - -
RedMatrix\RedDAV\RedFile::$name
-
-private
-
-
-
The documentation for this class was generated from the following file: -
-
- -- cgit v1.2.3