API Documentation

Gdata/YouTube/Extension/MediaGroup.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
YouTube
version
$Id: MediaGroup.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_YouTube_Extension_MediaGroup

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_YouTube_Extension_MediaGroup

Extends from
Zend_Gdata_Media_Extension_MediaGroup
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
YouTube
Properties
$_rootElement
$_rootNamespace
$_duration
$_private
$_videoid
$_mediarating
$_mediacredit
$_uploaded
Methods
__construct
getDOM
takeChildFromDOM
getDuration
setDuration
getVideoId
setVideoId
getUploaded
setUploaded
getPrivate
setPrivate
getMediaRating
setMediaRating
getMediaCredit
setMediaCredit

Description

This class represents the media:group element of Media RSS.

It allows the grouping of media:content elements that are different representations of the same content. When it exists, it is a child of an Entry (Atom) or Item (RSS).

Properties

$_duration

Zend_Gdata_YouTube_Extension_Duration $_duration = 'null'

Details

$_duration
Zend_Gdata_YouTube_Extension_Duration
visibility
protected
default
null
final
false
static
false

$_mediacredit

Zend_Gdata_YouTube_Extension_MediaCredit $_mediacredit = 'null'

Details

$_mediacredit
Zend_Gdata_YouTube_Extension_MediaCredit
visibility
protected
default
null
final
false
static
false

$_mediarating

Zend_Gdata_YouTube_Extension_MediaRating $_mediarating = 'null'

Details

$_mediarating
Zend_Gdata_YouTube_Extension_MediaRating
visibility
protected
default
null
final
false
static
false

$_private

Zend_Gdata_YouTube_Extension_Private $_private = 'null'

Details

$_private
Zend_Gdata_YouTube_Extension_Private
visibility
protected
default
null
final
false
static
false

$_rootElement

 $_rootElement = 'group'

Details

visibility
protected
default
group
final
false
static
false

$_rootNamespace

 $_rootNamespace = 'media'

Details

visibility
protected
default
media
final
false
static
false

$_uploaded

Zend_Gdata_YouTube_Extension_Uploaded $_uploaded = 'null'

Details

$_uploaded
Zend_Gdata_YouTube_Extension_Uploaded
visibility
protected
default
null
final
false
static
false

$_videoid

Zend_Gdata_YouTube_Extension_VideoId $_videoid = 'null'

Details

$_videoid
Zend_Gdata_YouTube_Extension_VideoId
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct(  $element = null ) :
Arguments
$element
Details
visibility
public
final
false
static
false

getDOM

getDOM(  $doc = null,  $majorVersion = 1,  $minorVersion = null ) :
Arguments
$doc
$majorVersion
$minorVersion
Details
visibility
public
final
false
static
false

getDuration

getDuration( ) : Zend_Gdata_YouTube_Extension_Duration

Returns the duration value of this element

Details
visibility
public
final
false
static
false

getMediaCredit

getMediaCredit( ) : Zend_Gdata_YouTube_Extension_MediaCredit

Returns the media:credit value of this element

Details
visibility
public
final
false
static
false

getMediaRating

getMediaRating( ) : Zend_Gdata_YouTube_Extension_MediaRating

Returns the rating value of this element

Details
visibility
public
final
false
static
false

getPrivate

getPrivate( ) : Zend_Gdata_YouTube_Extension_Private

Returns the private value of this element

Details
visibility
public
final
false
static
false

getUploaded

getUploaded( ) : Zend_Gdata_YouTube_Extension_Uploaded

Returns the yt:uploaded element

Details
visibility
public
final
false
static
false

getVideoId

getVideoId( ) : Zend_Gdata_YouTube_Extension_VideoId

Returns the videoid value of this element

Details
visibility
public
final
false
static
false

setDuration

setDuration( Zend_Gdata_YouTube_Extension_Duration $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the duration value of this element

Arguments
$value
Zend_Gdata_YouTube_Extension_Duration
The duration value
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

setMediaCredit

setMediaCredit( Zend_Gdata_YouTube_Extension_MediaCredit $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:credit value of this element

Arguments
$value
Zend_Gdata_YouTube_Extension_MediaCredit
The credit element
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

setMediaRating

setMediaRating( Zend_Gdata_YouTube_Extension_MediaRating $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:rating value of this element

Arguments
$value
Zend_Gdata_YouTube_Extension_MediaRating
The rating element
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

setPrivate

setPrivate( Zend_Gdata_YouTube_Extension_Private $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the private value of this element

Arguments
$value
Zend_Gdata_YouTube_Extension_Private
The private value
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

setUploaded

setUploaded( Zend_Gdata_YouTube_Extension_Uploaded $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the yt:uploaded element

Arguments
$value
Zend_Gdata_YouTube_Extension_Uploaded
The uploaded value
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

setVideoId

setVideoId( Zend_Gdata_YouTube_Extension_VideoId $value ) : Zend_Gdata_YouTube_Extension_MediaGroup

Sets the videoid value of this element

Arguments
$value
Zend_Gdata_YouTube_Extension_VideoId
The video id value
Output
Zend_Gdata_YouTube_Extension_MediaGroup
Provides a fluent interface
Details
visibility
public
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

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

Arguments
$child
DOMNode
The DOMNode to process
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.