[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Gdata/App/ -> MediaFileSource.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id: MediaFileSource.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 146 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 include/Zend/Gdata/App/IOException.php
 include/Zend/Gdata/App/BaseMediaSource.php

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:08:37 2014 Cross-referenced by PHPXref 0.7.1