Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Media_Entry Class Reference
Inheritance diagram for Zend_Gdata_Media_Entry:
Collaboration diagram for Zend_Gdata_Media_Entry:

Public Member Functions

 __construct ($element=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getMediaGroup ()
 setMediaGroup ($mediaGroup)

Protected Member Functions

 takeChildFromDOM ($child)

Protected Attributes

 $_entryClassName = 'Zend_Gdata_Media_Entry'
 $_mediaGroup = null

Detailed Description

Definition at line 48 of file Entry.php.


Constructor & Destructor Documentation

__construct ( element = null)

Create a new instance.

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

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_YouTube_InboxEntry, and Zend_Gdata_YouTube_PlaylistVideoEntry.

Definition at line 66 of file Entry.php.

Here is the call graph for this function:


Member Function Documentation

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

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.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_YouTube_InboxEntry, and Zend_Gdata_YouTube_PlaylistVideoEntry.

Definition at line 81 of file Entry.php.

Returns the entry's mediaGroup object.

Returns:
Zend_Gdata_Media_Extension_MediaGroup

Reimplemented in Zend_Gdata_Photos_PhotoEntry.

Definition at line 116 of file Entry.php.

Here is the caller graph for this function:

setMediaGroup ( mediaGroup)

Sets the entry's mediaGroup object.

Parameters:
Zend_Gdata_Media_Extension_MediaGroup$mediaGroup
Returns:
Zend_Gdata_Media_Entry Provides a fluent interface

Reimplemented in Zend_Gdata_Photos_PhotoEntry.

Definition at line 127 of file Entry.php.

takeChildFromDOM ( child) [protected]

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

Parameters:
DOMNode$childThe DOMNode to process

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_YouTube_InboxEntry, Zend_Gdata_YouTube_PlaylistVideoEntry, and Zend_Gdata_YouTube_MediaEntry.

Definition at line 96 of file Entry.php.

Here is the call graph for this function:


Field Documentation

$_mediaGroup = null [protected]

Reimplemented in Zend_Gdata_YouTube_MediaEntry.

Definition at line 58 of file Entry.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations