## Zend_Gdata_App_MediaEntry

Description

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

- copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license: New BSD License

Located in /Gdata/App/MediaEntry.php (line 48)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_FeedEntryParent
          |
          --Zend_Gdata_App_Entry
             |
             --Zend_Gdata_App_MediaEntry

Direct descendents

Class | Description
--- | ---
Zend_Gdata_Entry | Represents the Gdata flavor of an Atom entry

Variable Summary
Zend_Gdata_App_MediaSource $_mediaSource
Method Summary
Zend_Gdata_App_MediaEntry __construct ([DOMElement $element = null], [ $mediaSource = null])
string|Zend_Gdata_MediaMimeStream encode ()
Zend_Gdata_App_MediaSource getMediaSource ()
Zend_Gdata_App_MediaEntry setMediaSource (Zend_Gdata_App_MediaSource $value)
Variables
Zend_Gdata_App_MediaSource $_mediaSource = null (line 55)

The attached MediaSource/file

- access: protected

#### Inherited Variables

Inherited from Zend_Gdata_App_Entry

> Zend_Gdata_App_Entry::$_content
> Zend_Gdata_App_Entry::$_control
> Zend_Gdata_App_Entry::$_edited
> Zend_Gdata_App_Entry::$_entryClassName
> Zend_Gdata_App_Entry::$_published
> Zend_Gdata_App_Entry::$_rootElement
> Zend_Gdata_App_Entry::$_source
> Zend_Gdata_App_Entry::$_summary

Inherited from Zend_Gdata_App_FeedEntryParent

> Zend_Gdata_App_FeedEntryParent::$_author
> Zend_Gdata_App_FeedEntryParent::$_category
> Zend_Gdata_App_FeedEntryParent::$_contributor
> Zend_Gdata_App_FeedEntryParent::$_etag
> Zend_Gdata_App_FeedEntryParent::$_id
> Zend_Gdata_App_FeedEntryParent::$_link
> Zend_Gdata_App_FeedEntryParent::$_majorProtocolVersion
> Zend_Gdata_App_FeedEntryParent::$_minorProtocolVersion
> Zend_Gdata_App_FeedEntryParent::$_rights
> Zend_Gdata_App_FeedEntryParent::$_service
> Zend_Gdata_App_FeedEntryParent::$_title
> Zend_Gdata_App_FeedEntryParent::$_updated

Inherited from Zend_Gdata_App_Base

> Zend_Gdata_App_Base::$_extensionAttributes
> Zend_Gdata_App_Base::$_extensionElements
> Zend_Gdata_App_Base::$_namespaceLookupCache
> Zend_Gdata_App_Base::$_namespaces
> Zend_Gdata_App_Base::$_rootNamespace
> Zend_Gdata_App_Base::$_rootNamespaceURI
> Zend_Gdata_App_Base::$_text

Methods
Constructor __construct (line 64)

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

- access: public

Zend_Gdata_App_MediaEntry __construct ([DOMElement $element = null], [ $mediaSource = null])

- DOMElement $element: (optional) DOMElement from which this object should be constructed.
- $mediaSource

Redefinition of:

Zend_Gdata_App_FeedEntryParent::__construct()
  Constructs a Feed or Entry

Redefined in descendants as:

- Zend_Gdata_Entry::__construct()
- Zend_Gdata_Geo_Entry::__construct()
- Zend_Gdata_Media_Entry::__construct() : Create a new instance.
- Zend_Gdata_YouTube_InboxEntry::__construct() : Creates a subscription entry, representing an individual subscription in a list of subscriptions, usually associated with an individual user.
- Zend_Gdata_YouTube_VideoEntry::__construct() : Creates a Video entry, representing an individual video
- Zend_Gdata_YouTube_PlaylistVideoEntry::__construct() : Creates a Playlist video entry, representing an individual video in a list of videos contained within a specific playlist
- Zend_Gdata_Photos_PhotoEntry::__construct() : Create a new instance.
- Zend_Gdata_Books_CollectionEntry::__construct() : Constructor for Zend_Gdata_Books_CollectionEntry which Describes an entry in a feed of collections
- Zend_Gdata_Books_VolumeEntry::__construct() : Constructor for Zend_Gdata_Books_VolumeEntry which Describes an entry in a feed of Book Search volumes
- Zend_Gdata_Gbase_Entry::__construct() : Constructs a new Zend_Gdata_Gbase_ItemEntry object.
- Zend_Gdata_YouTube_UserProfileEntry::__construct() : Creates a User Profile entry, representing an individual user and their attributes.
- Zend_Gdata_YouTube_ContactEntry::__construct() : Constructs a new Contact Entry object, to represent an individual contact for a user
- Zend_Gdata_YouTube_SubscriptionEntry::__construct() : Creates a subscription entry, representing an individual subscription in a list of subscriptions, usually associated with an individual user.
- Zend_Gdata_YouTube_CommentEntry::__construct() : Constructs a new Zend_Gdata_YouTube_CommentEntry object.
- Zend_Gdata_YouTube_ActivityEntry::__construct() : Constructs a new Zend_Gdata_YouTube_ActivityEntry object.
- Zend_Gdata_YouTube_PlaylistListEntry::__construct() : Creates a Playlist list entry, representing an individual playlist in a list of playlists, usually associated with an individual user.
- Zend_Gdata_Docs_DocumentListEntry::__construct() : Create a new instance of an entry representing a document.
- Zend_Gdata_Health_ProfileListEntry::__construct() : Constructs a new Zend_Gdata_Health_ProfileListEntry object.
- Zend_Gdata_Health_ProfileEntry::__construct() : Constructs a new Zend_Gdata_Health_ProfileEntry object.
- Zend_Gdata_Calendar_ListEntry::__construct()
- Zend_Gdata_Gapps_NicknameEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_MemberEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_GroupEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_EmailListEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_EmailListRecipientEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_UserEntry::__construct() : Create a new instance.
- Zend_Gdata_Gapps_OwnerEntry::__construct() : Create a new instance.
- Zend_Gdata_Photos_CommentEntry::__construct() : Create a new instance.
- Zend_Gdata_Photos_UserEntry::__construct() : Create a new instance.
- Zend_Gdata_Photos_TagEntry::__construct() : Create a new instance.
- Zend_Gdata_Photos_AlbumEntry::__construct() : Create a new instance.
- Zend_Gdata_Exif_Entry::__construct() : Create a new instance.
- Zend_Gdata_Calendar_EventEntry::__construct()
- Zend_Gdata_Spreadsheets_WorksheetEntry::__construct() : Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.
- Zend_Gdata_Spreadsheets_SpreadsheetEntry::__construct() : Constructs a new Zend_Gdata_Spreadsheets_SpreadsheetEntry object.
- Zend_Gdata_Spreadsheets_ListEntry::__construct() : Constructs a new Zend_Gdata_Spreadsheets_ListEntry object.
- Zend_Gdata_Spreadsheets_CellEntry::__construct() : Constructs a new Zend_Gdata_Spreadsheets_CellEntry object.

encode (line 77)

Return the MIME multipart representation of this MediaEntry.

- return: The MIME multipart representation of this MediaEntry. If the entry consisted only of XML, a string is returned.
- access: public

string|Zend_Gdata_MediaMimeStream encode ()

Redefinition of:

Zend_Gdata_App_Base::encode()
  Alias for saveXML()

getMediaSource (line 96)

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

- return: The attached MediaSource/file
- access: public

Zend_Gdata_App_MediaSource getMediaSource ()
setMediaSource (line 107)

Set the MediaSource object (file) for this MediaEntry

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_MediaEntry setMediaSource (Zend_Gdata_App_MediaSource $value)

- Zend_Gdata_App_MediaSource $value: The attached MediaSource/file

#### Inherited Methods

Inherited From Zend_Gdata_App_Entry

> Zend_Gdata_App_Entry::delete()
> Zend_Gdata_App_Entry::getContent()
> Zend_Gdata_App_Entry::getControl()
> Zend_Gdata_App_Entry::getDOM()
> Zend_Gdata_App_Entry::getPublished()
> Zend_Gdata_App_Entry::getSource()
> Zend_Gdata_App_Entry::getSummary()
> Zend_Gdata_App_Entry::reload()
> Zend_Gdata_App_Entry::save()
> Zend_Gdata_App_Entry::setContent()
> Zend_Gdata_App_Entry::setControl()
> Zend_Gdata_App_Entry::setPublished()
> Zend_Gdata_App_Entry::setSource()
> Zend_Gdata_App_Entry::setSummary()
> Zend_Gdata_App_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_FeedEntryParent

> Zend_Gdata_App_FeedEntryParent::__construct()
> Zend_Gdata_App_FeedEntryParent::getAlternateLink()
> Zend_Gdata_App_FeedEntryParent::getAuthor()
> Zend_Gdata_App_FeedEntryParent::getCategory()
> Zend_Gdata_App_FeedEntryParent::getContributor()
> Zend_Gdata_App_FeedEntryParent::getDOM()
> Zend_Gdata_App_FeedEntryParent::getEditLink()
> Zend_Gdata_App_FeedEntryParent::getEtag()
> Zend_Gdata_App_FeedEntryParent::getHttpClient()
> Zend_Gdata_App_FeedEntryParent::getId()
> Zend_Gdata_App_FeedEntryParent::getLicenseLink()
> Zend_Gdata_App_FeedEntryParent::getLink()
> Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::getNextLink()
> Zend_Gdata_App_FeedEntryParent::getPreviousLink()
> Zend_Gdata_App_FeedEntryParent::getRights()
> Zend_Gdata_App_FeedEntryParent::getSelfLink()
> Zend_Gdata_App_FeedEntryParent::getService()
> Zend_Gdata_App_FeedEntryParent::getTitle()
> Zend_Gdata_App_FeedEntryParent::getTitleValue()
> Zend_Gdata_App_FeedEntryParent::getUpdated()
> Zend_Gdata_App_FeedEntryParent::lookupNamespace()
> Zend_Gdata_App_FeedEntryParent::setAuthor()
> Zend_Gdata_App_FeedEntryParent::setCategory()
> Zend_Gdata_App_FeedEntryParent::setContributor()
> Zend_Gdata_App_FeedEntryParent::setEtag()
> Zend_Gdata_App_FeedEntryParent::setHttpClient()
> Zend_Gdata_App_FeedEntryParent::setId()
> Zend_Gdata_App_FeedEntryParent::setLink()
> Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::setRights()
> Zend_Gdata_App_FeedEntryParent::setService()
> Zend_Gdata_App_FeedEntryParent::setTitle()
> Zend_Gdata_App_FeedEntryParent::setUpdated()
> Zend_Gdata_App_FeedEntryParent::takeChildFromDOM()

Inherited From Zend_Gdata_App_Base

> Zend_Gdata_App_Base::__construct()
> Zend_Gdata_App_Base::encode()
> Zend_Gdata_App_Base::flushNamespaceLookupCache()
> Zend_Gdata_App_Base::getDOM()
> Zend_Gdata_App_Base::getExtensionAttributes()
> Zend_Gdata_App_Base::getExtensionElements()
> Zend_Gdata_App_Base::getText()
> Zend_Gdata_App_Base::getXML()
> Zend_Gdata_App_Base::lookupNamespace()
> Zend_Gdata_App_Base::registerAllNamespaces()
> Zend_Gdata_App_Base::registerNamespace()
> Zend_Gdata_App_Base::saveXML()
> Zend_Gdata_App_Base::setExtensionAttributes()
> Zend_Gdata_App_Base::setExtensionElements()
> Zend_Gdata_App_Base::setText()
> Zend_Gdata_App_Base::takeAttributeFromDOM()
> Zend_Gdata_App_Base::takeChildFromDOM()
> Zend_Gdata_App_Base::transferFromDOM()
> Zend_Gdata_App_Base::transferFromXML()
> Zend_Gdata_App_Base::__get()
> Zend_Gdata_App_Base::__isset()
> Zend_Gdata_App_Base::__set()
> Zend_Gdata_App_Base::__toString()
> Zend_Gdata_App_Base::__unset()

Documentation generated on Tue, 26 Oct 2010 20:08:57 +0400 by phpDocumentor 1.4.2