## Zend_Gdata_Media_Entry

Description

Represents the Gdata flavor of an Atom entry

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

Located in /Gdata/Media/Entry.php (line 48)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_FeedEntryParent
          |
          --Zend_Gdata_App_Entry
             |
             --Zend_Gdata_App_MediaEntry
                |
                --Zend_Gdata_Entry
                   |
                   --Zend_Gdata_Media_Entry

Direct descendents

Class | Description
--- | ---
Zend_Gdata_YouTube_InboxEntry | Represents the YouTube message flavor of an Atom entry
Zend_Gdata_YouTube_MediaEntry | Represents the YouTube flavor of a Gdata Media Entry
Zend_Gdata_Photos_PhotoEntry | Data model class for a Comment Entry.

Variable Summary
mixed $_entryClassName
Zend_Gdata_Media_Extension_MediaGroup $_mediaGroup
Method Summary
Zend_Gdata_Media_Entry __construct ([DOMElement $element = null])
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
Zend_Gdata_Media_Extension_MediaGroup getMediaGroup ()
Zend_Gdata_Media_Entry setMediaGroup (Zend_Gdata_Media_Extension_MediaGroup $mediaGroup)
void takeChildFromDOM (DOMNode $child)
Variables
mixed $_entryClassName = 'Zend_Gdata_Media_Entry' (line 51)

- access: protected

Redefinition of:

Zend_Gdata_Entry::$_entryClassName

Redefined in descendants as:

- Zend_Gdata_YouTube_InboxEntry::$_entryClassName
- Zend_Gdata_YouTube_MediaEntry::$_entryClassName
- Zend_Gdata_YouTube_VideoEntry::$_entryClassName
- Zend_Gdata_YouTube_PlaylistVideoEntry::$_entryClassName
- Zend_Gdata_Photos_PhotoEntry::$_entryClassName

Zend_Gdata_Media_Extension_MediaGroup $_mediaGroup = null (line 58)

media:group element

- access: protected

Redefined in descendants as:

- Zend_Gdata_YouTube_MediaEntry::$_mediaGroup : media:group element

#### Inherited Variables

Inherited from Zend_Gdata_App_MediaEntry

> Zend_Gdata_App_MediaEntry::$_mediaSource

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::$_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 66)

Create a new instance.

- access: public

Zend_Gdata_Media_Entry __construct ([DOMElement $element = null])

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

Redefinition of:

Zend_Gdata_Entry::__construct()

Redefined in descendants as:

- 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.

getDOM (line 81)

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for application storage/persistence.

- return: The DOMElement representing this element and all child properties.
- access: public

DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])

- DOMDocument $doc: The DOMDocument used to construct DOMElements
- $majorVersion
- $minorVersion

Redefinition of:

Zend_Gdata_Entry::getDOM()

Redefined in descendants as:

- Zend_Gdata_YouTube_InboxEntry::getDOM() : Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
- Zend_Gdata_YouTube_VideoEntry::getDOM() : Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
- Zend_Gdata_YouTube_PlaylistVideoEntry::getDOM() : Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
- Zend_Gdata_Photos_PhotoEntry::getDOM() : Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for application storage/persistence.

getMediaGroup (line 116)

Returns the entry's mediaGroup object.

- access: public

Zend_Gdata_Media_Extension_MediaGroup getMediaGroup ()

Redefined in descendants as:

- Zend_Gdata_Photos_PhotoEntry::getMediaGroup() : Get the value for this element's media:group attribute.

setMediaGroup (line 127)

Sets the entry's mediaGroup object.

- return: Provides a fluent interface
- access: public

Zend_Gdata_Media_Entry setMediaGroup (Zend_Gdata_Media_Extension_MediaGroup $mediaGroup)

- Zend_Gdata_Media_Extension_MediaGroup $mediaGroup

Redefined in descendants as:

- Zend_Gdata_Photos_PhotoEntry::setMediaGroup() : Set the value for this element's media:group attribute.

takeChildFromDOM (line 96)

Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

- access: protected

void takeChildFromDOM (DOMNode $child)

- DOMNode $child: The DOMNode to process

Redefinition of:

Zend_Gdata_Entry::takeChildFromDOM()

Redefined in descendants as:

- Zend_Gdata_YouTube_InboxEntry::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
- Zend_Gdata_YouTube_MediaEntry::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.
- Zend_Gdata_YouTube_VideoEntry::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
- Zend_Gdata_YouTube_PlaylistVideoEntry::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
- Zend_Gdata_Photos_PhotoEntry::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

#### Inherited Methods

Inherited From Zend_Gdata_Entry

> Zend_Gdata_Entry::__construct()
> Zend_Gdata_Entry::getDOM()
> Zend_Gdata_Entry::takeAttributeFromDOM()
> Zend_Gdata_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_MediaEntry

> Zend_Gdata_App_MediaEntry::__construct()
> Zend_Gdata_App_MediaEntry::encode()
> Zend_Gdata_App_MediaEntry::getMediaSource()
> Zend_Gdata_App_MediaEntry::setMediaSource()

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:38 +0400 by phpDocumentor 1.4.2