API Documentation

Zend/Gdata/YouTube/Extension/MediaGroup.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
YouTube  
Version
$Id: MediaGroup.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Gdata_YouTube_Extension_MediaGroup

Package: Zend\Gdata\YouTube

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

Parent(s)
\Zend_Gdata_Media_Extension_MediaGroup < \Zend_Gdata_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Gdata_YouTube_Extension_Duration  $_duration= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Duration
Propertyprotected\Zend_Gdata_YouTube_Extension_MediaCredit  $_mediacredit= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_MediaCredit
Propertyprotected\Zend_Gdata_YouTube_Extension_MediaRating  $_mediarating= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_MediaRating
Propertyprotected\Zend_Gdata_YouTube_Extension_Private  $_private= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Private
Propertyprotected  $_rootElement= ''group''
Default value'group'Details
Type
Propertyprotected  $_rootNamespace= ''media''
Default value'media'Details
Type
Propertyprotected\Zend_Gdata_YouTube_Extension_Uploaded  $_uploaded= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Uploaded
Propertyprotected\Zend_Gdata_YouTube_Extension_VideoId  $_videoid= 'null'

Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_VideoId

Methods

methodpublic__construct(  $element = null ) : void

Parameters
Name Type Description
$element
methodpublicgetDOM(  $doc = null,  $majorVersion = 1,  $minorVersion = null ) : void

Parameters
Name Type Description
$doc
$majorVersion
$minorVersion
methodpublicgetDuration( ) : \Zend_Gdata_YouTube_Extension_Duration

Returns the duration value of this element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_Duration
methodpublicgetMediaCredit( ) : \Zend_Gdata_YouTube_Extension_MediaCredit

Returns the media:credit value of this element

methodpublicgetMediaRating( ) : \Zend_Gdata_YouTube_Extension_MediaRating

Returns the rating value of this element

methodpublicgetPrivate( ) : \Zend_Gdata_YouTube_Extension_Private

Returns the private value of this element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_Private
methodpublicgetUploaded( ) : \Zend_Gdata_YouTube_Extension_Uploaded

Returns the yt:uploaded element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_Uploaded
methodpublicgetVideoId( ) : \Zend_Gdata_YouTube_Extension_VideoId

Returns the videoid value of this element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_VideoId
methodpublicsetDuration( \Zend_Gdata_YouTube_Extension_Duration $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the duration value of this element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_Duration

The duration value

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodpublicsetMediaCredit( \Zend_Gdata_YouTube_Extension_MediaCredit $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:credit value of this element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_MediaCredit

The credit element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodpublicsetMediaRating( \Zend_Gdata_YouTube_Extension_MediaRating $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:rating value of this element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_MediaRating

The rating element

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodpublicsetPrivate( \Zend_Gdata_YouTube_Extension_Private $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the private value of this element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_Private

The private value

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodpublicsetUploaded( \Zend_Gdata_YouTube_Extension_Uploaded $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the yt:uploaded element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_Uploaded

The uploaded value

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodpublicsetVideoId( \Zend_Gdata_YouTube_Extension_VideoId $value ) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the videoid value of this element

Parameters
Name Type Description
$value \Zend_Gdata_YouTube_Extension_VideoId

The video id value

Returns
Type Description
\Zend_Gdata_YouTube_Extension_MediaGroup Provides a fluent interface
methodprotectedtakeChildFromDOM( \DOMNode $child ) : void

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

Parameters
Name Type Description
$child \DOMNode

The DOMNode to process

Documentation was generated by DocBlox 0.15.1.