Gdata/YouTube/Extension/MediaGroup.php

Show: PublicProtectedPrivateinherited
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
YouTube  
Version
$Id$  

\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Gdata_YouTube_Extension_Duration $_duration = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Duration
>VPropertyprotected\Zend_Gdata_YouTube_Extension_MediaCredit $_mediacredit = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_MediaCredit
>VPropertyprotected\Zend_Gdata_YouTube_Extension_MediaRating $_mediarating = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_MediaRating
>VPropertyprotected\Zend_Gdata_YouTube_Extension_Private $_private = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Private
>VPropertyprotected$_rootElement = 'group'
Default value'group'Details
Type
n/a
>VPropertyprotected$_rootNamespace = 'media'
Default value'media'Details
Type
n/a
>VPropertyprotected\Zend_Gdata_YouTube_Extension_Uploaded $_uploaded = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_Uploaded
>VPropertyprotected\Zend_Gdata_YouTube_Extension_VideoId $_videoid = null
Default valuenullDetails
Type
\Zend_Gdata_YouTube_Extension_VideoId

Methods

methodpublic__construct( $element = null) : void

Parameters
NameTypeDescription
$element
methodpublicgetDOM( $doc = null,  $majorVersion = 1,  $minorVersion = null) : void

Parameters
NameTypeDescription
$doc
$majorVersion
$minorVersion
methodpublicgetDuration() : \Zend_Gdata_YouTube_Extension_Duration

Returns the duration value of this element

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

methodpublicgetUploaded() : \Zend_Gdata_YouTube_Extension_Uploaded

Returns the yt:uploaded element

methodpublicgetVideoId() : \Zend_Gdata_YouTube_Extension_VideoId

Returns the videoid value of this element

methodpublicsetDuration(\Zend_Gdata_YouTube_Extension_Duration $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the duration value of this element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_Duration

The duration value

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides a fluent interface
methodpublicsetMediaCredit(\Zend_Gdata_YouTube_Extension_MediaCredit $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:credit value of this element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_MediaCredit

The credit element

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides a fluent interface
methodpublicsetMediaRating(\Zend_Gdata_YouTube_Extension_MediaRating $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the media:rating value of this element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_MediaRating

The rating element

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides a fluent interface
methodpublicsetPrivate(\Zend_Gdata_YouTube_Extension_Private $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the private value of this element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_Private

The private value

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides a fluent interface
methodpublicsetUploaded(\Zend_Gdata_YouTube_Extension_Uploaded $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the yt:uploaded element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_Uploaded

The uploaded value

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides a fluent interface
methodpublicsetVideoId(\Zend_Gdata_YouTube_Extension_VideoId $value) : \Zend_Gdata_YouTube_Extension_MediaGroup

Sets the videoid value of this element

Parameters
NameTypeDescription
$value\Zend_Gdata_YouTube_Extension_VideoId

The video id value

Returns
TypeDescription
\Zend_Gdata_YouTube_Extension_MediaGroupProvides 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
NameTypeDescription
$child\DOMNode

The DOMNode to process

Documentation was generated by phpDocumentor 2.2.0 .