Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Nirvanix_Namespace_Imfs Class Reference
Inheritance diagram for Zend_Service_Nirvanix_Namespace_Imfs:
Collaboration diagram for Zend_Service_Nirvanix_Namespace_Imfs:

Public Member Functions

 getContents ($filePath, $expiration=3600)
 putContents ($filePath, $data, $mimeType=null)
 unlink ($filePath)

Detailed Description

Definition at line 37 of file Imfs.php.


Member Function Documentation

getContents ( filePath,
expiration = 3600 
)

Convenience function to get the contents of a file on the Nirvanix IMFS. Analog to PHP's file_get_contents().

Parameters:
string$filePathRemote path and filename
integer$expirationNumber of seconds that Nirvanix make the file available for download.
Returns:
string Contents of file

Definition at line 48 of file Imfs.php.

putContents ( filePath,
data,
mimeType = null 
)

Convenience function to put the contents of a string into the Nirvanix IMFS. Analog to PHP's file_put_contents().

Parameters:
string$filePathRemote path and filename
integer$dataData to store in the file
string$mimeTypeMime type of data
Returns:
Zend_Service_Nirvanix_Response

Definition at line 73 of file Imfs.php.

unlink ( filePath)

Convenience function to remove a file from the Nirvanix IMFS. Analog to PHP's unlink().

Parameters:
string$filePathRemove path and filename
Returns:
Zend_Service_Nirvanix_Response

Definition at line 99 of file Imfs.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations