API Documentation

Gdata/App/MediaEntry.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
App
version
$Id: MediaEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_App_MediaEntry

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Gdata_App_MediaEntry

Extends from
Zend_Gdata_App_Entry
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
App
Properties
$_mediaSource
Methods
__construct
encode
getMediaSource
setMediaSource

Description

Concrete class for working with Atom entries containing multi-part data.

Properties

$_mediaSource

Zend_Gdata_App_MediaSource $_mediaSource = 'null'

The attached MediaSource/file

Details

$_mediaSource
Zend_Gdata_App_MediaSource
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( DOMElement $element = null,  $mediaSource = null ) :

Constructs a new MediaEntry, representing XML data and optional file to upload

Arguments
$element
DOMElement
(optional) DOMElement from which this object should be constructed.
$mediaSource
Details
visibility
public
final
false
static
false

encode

encode( ) : string|Zend_Gdata_MediaMimeStream

Return the MIME multipart representation of this MediaEntry.

Output
string|Zend_Gdata_MediaMimeStream
The MIME multipart representation of this MediaEntry. If the entry consisted only of XML, a string is returned.
Details
visibility
public
final
false
static
false

getMediaSource

getMediaSource( ) : Zend_Gdata_App_MediaSource

Return the MediaSource object representing the file attached to this MediaEntry.

Output
Zend_Gdata_App_MediaSource
The attached MediaSource/file
Details
visibility
public
final
false
static
false

setMediaSource

setMediaSource( Zend_Gdata_App_MediaSource $value ) : Zend_Gdata_App_MediaEntry

Set the MediaSource object (file) for this MediaEntry

Arguments
$value
Zend_Gdata_App_MediaSource
The attached MediaSource/file
Output
Zend_Gdata_App_MediaEntry
Provides a fluent interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.