[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Nirvanix/Namespace/ -> Imfs.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 105 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Nirvanix_Namespace_Imfs:: (3 methods):
  getContents()
  putContents()
  unlink()


Class: Zend_Service_Nirvanix_Namespace_Imfs  - X-Ref

Namespace proxy with additional convenience methods for the IMFS namespace.

getContents($filePath, $expiration = 3600)   X-Ref
Convenience function to get the contents of a file on
the Nirvanix IMFS.  Analog to PHP's file_get_contents().

param: string  $filePath    Remote path and filename
param: integer $expiration  Number of seconds that Nirvanix
return: string               Contents of file

putContents($filePath, $data, $mimeType = null)   X-Ref
Convenience function to put the contents of a string into
the Nirvanix IMFS.  Analog to PHP's file_put_contents().

param: string  $filePath    Remote path and filename
param: integer $data        Data to store in the file
param: string  $mimeType    Mime type of data
return: Zend_Service_Nirvanix_Response

unlink($filePath)   X-Ref
Convenience function to remove a file from the Nirvanix IMFS.
Analog to PHP's unlink().

param: string  $filePath  Remove path and filename
return: Zend_Service_Nirvanix_Response



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1