[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/App/ -> MediaFileSource.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: 146 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_App_MediaFileSource:: (7 methods):
  __construct()
  encode()
  getFilename()
  setFilename()
  getContentType()
  setContentType()
  __toString()


Class: Zend_Gdata_App_MediaFileSource  - X-Ref

Concrete class to use a file handle as an attachment within a MediaEntry.

__construct($filename)   X-Ref
Create a new Zend_Gdata_App_MediaFileSource object.

param: string $filename The name of the file to read from.

encode()   X-Ref
Return the MIME multipart representation of this MediaEntry.

return: string

getFilename()   X-Ref
Get the filename associated with this reader.

return: string

setFilename($value)   X-Ref
Set the filename which is to be read.

param: string $value The desired file handle.
return: Zend_Gdata_App_MediaFileSource Provides a fluent interface.

getContentType()   X-Ref
The content type for the file attached (example image/png)

return: string The content type

setContentType($value)   X-Ref
Set the content type for the file attached (example image/png)

param: string $value The content type
return: Zend_Gdata_App_MediaFileSource Provides a fluent interface

__toString()   X-Ref
Alias for getFilename().

return: string



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