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

Public Member Functions

 __construct ($element=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getDuration ()
 setDuration ($value)
 getVideoId ()
 setVideoId ($value)
 getUploaded ()
 setUploaded ($value)
 getPrivate ()
 setPrivate ($value)
 getMediaRating ()
 setMediaRating ($value)
 getMediaCredit ()
 setMediaCredit ($value)

Protected Member Functions

 takeChildFromDOM ($child)

Protected Attributes

 $_rootElement = 'group'
 $_rootNamespace = 'media'
 $_duration = null
 $_private = null
 $_videoid = null
 $_mediarating = null
 $_mediacredit = null
 $_uploaded = null

Detailed Description

Definition at line 76 of file MediaGroup.php.


Constructor & Destructor Documentation

__construct ( element = null)

Creates an individual MediaGroup object.

Reimplemented from Zend_Gdata_Media_Extension_MediaGroup.

Definition at line 112 of file MediaGroup.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 sending to the server upon updates, or 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_Media_Extension_MediaGroup.

Definition at line 118 of file MediaGroup.php.

Returns the duration value of this element

Returns:
Zend_Gdata_YouTube_Extension_Duration

Definition at line 204 of file MediaGroup.php.

Returns the media:credit value of this element

Returns:
Zend_Gdata_YouTube_Extension_MediaCredit

Definition at line 319 of file MediaGroup.php.

Returns the rating value of this element

Returns:
Zend_Gdata_YouTube_Extension_MediaRating

Definition at line 296 of file MediaGroup.php.

Returns the private value of this element

Returns:
Zend_Gdata_YouTube_Extension_Private

Definition at line 273 of file MediaGroup.php.

Returns the yt:uploaded element

Returns:
Zend_Gdata_YouTube_Extension_Uploaded

Definition at line 250 of file MediaGroup.php.

Returns the videoid value of this element

Returns:
Zend_Gdata_YouTube_Extension_VideoId

Definition at line 227 of file MediaGroup.php.

setDuration ( value)

Sets the duration value of this element

Parameters:
Zend_Gdata_YouTube_Extension_Duration$valueThe duration value
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 216 of file MediaGroup.php.

setMediaCredit ( value)

Sets the media:credit value of this element

Parameters:
Zend_Gdata_YouTube_Extension_MediaCredit$valueThe credit element
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 331 of file MediaGroup.php.

setMediaRating ( value)

Sets the media:rating value of this element

Parameters:
Zend_Gdata_YouTube_Extension_MediaRating$valueThe rating element
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 308 of file MediaGroup.php.

setPrivate ( value)

Sets the private value of this element

Parameters:
Zend_Gdata_YouTube_Extension_Private$valueThe private value
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 285 of file MediaGroup.php.

setUploaded ( value)

Sets the yt:uploaded element

Parameters:
Zend_Gdata_YouTube_Extension_Uploaded$valueThe uploaded value
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 262 of file MediaGroup.php.

setVideoId ( value)

Sets the videoid value of this element

Parameters:
Zend_Gdata_YouTube_Extension_VideoId$valueThe video id value
Returns:
Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface

Definition at line 239 of file MediaGroup.php.

takeChildFromDOM ( child) [protected]

Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

Parameters:
DOMNode$childThe DOMNode to process

Reimplemented from Zend_Gdata_Media_Extension_MediaGroup.

Definition at line 154 of file MediaGroup.php.

Here is the call graph for this function:


Field Documentation

$_duration = null [protected]

Definition at line 85 of file MediaGroup.php.

$_mediacredit = null [protected]

Definition at line 105 of file MediaGroup.php.

$_mediarating = null [protected]

Definition at line 100 of file MediaGroup.php.

$_private = null [protected]

Definition at line 90 of file MediaGroup.php.

$_rootElement = 'group' [protected]

Reimplemented from Zend_Gdata_Media_Extension_MediaGroup.

Definition at line 79 of file MediaGroup.php.

$_rootNamespace = 'media' [protected]

Reimplemented from Zend_Gdata_Media_Extension_MediaGroup.

Definition at line 80 of file MediaGroup.php.

$_uploaded = null [protected]

Definition at line 110 of file MediaGroup.php.

$_videoid = null [protected]

Definition at line 95 of file MediaGroup.php.


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