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.
Represents the YouTube message flavor of an Atom entry

\Zend_Gdata_YouTube_Extension_Description
$_description= 'null'
The yt:description element of this entry.

$_entryClassName= ''Zend_Gdata_YouTube_InboxEntry''
'Zend_Gdata_YouTube_InboxEntry'
Details
__construct(
\DOMElement $element
=
null
)
:
void
Creates a subscription entry, representing an individual subscription in a list of subscriptions, usually associated with an individual user.
Name | Type | Description |
---|---|---|
$element | \DOMElement | (optional) DOMElement from which this object should be constructed. |

getComments(
)
:
\Zend_Gdata_Extension_Comments|null
Get the gd:comments element of the inbox entry.
Type | Description |
---|---|
\Zend_Gdata_Extension_Comments|null |

getDOM(
\DOMDocument $doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
\DOMElement
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.
Name | Type | Description |
---|---|---|
$doc | \DOMDocument | The DOMDocument used to construct DOMElements |
$majorVersion | ||
$minorVersion |
Type | Description |
---|---|
\DOMElement | The DOMElement representing this element and all child properties. |

getDescription(
)
:
\Zend_Gdata_YouTube_Extension_Description|null
Get the yt:description
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Description|null |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |

getRating(
)
:
\Zend_Gdata_Extension_Rating|null
Get the gd:rating element for the inbox entry
Type | Description |
---|---|
\Zend_Gdata_Extension_Rating|null |

getStatistics(
)
:
\Zend_Gdata_YouTube_Extension_Statistics|null
Get the yt:statistics element for the inbox entry
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Statistics|null |

setComments(
\Zend_Gdata_Extension_Comments $comments
=
null
)
:
\Zend_Gdata_YouTube_InboxEntry
Sets the gd:comments element for the inbox entry
Name | Type | Description |
---|---|---|
$comments | \Zend_Gdata_Extension_Comments | The comments feed link |
Type | Description |
---|---|
\Zend_Gdata_YouTube_InboxEntry | Provides a fluent interface |

setDescription(
\Zend_Gdata_YouTube_Extension_Description $description
=
null
)
:
\Zend_Gdata_YouTube_InboxEntry
Sets the yt:description element for a new inbox entry.
Name | Type | Description |
---|---|---|
$description | \Zend_Gdata_YouTube_Extension_Description | The description. |
Type | Description |
---|---|
\Zend_Gdata_YouTube_InboxEntry | Provides a fluent interface |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |

setRating(
\Zend_Gdata_Extension_Rating $rating
=
null
)
:
\Zend_Gdata_YouTube_InboxEntry
Sets the gd:rating element for the inbox entry
Name | Type | Description |
---|---|---|
$rating | \Zend_Gdata_Extension_Rating | The rating for the video in the message |
Type | Description |
---|---|
\Zend_Gdata_YouTube_InboxEntry | Provides a fluent interface |

setStatistics(
\Zend_Gdata_YouTube_Extension_Statistics $statistics
=
null
)
:
\Zend_Gdata_YouTube_InboxEntry
Sets the yt:statistics element for the inbox entry
Name | Type | Description |
---|---|---|
$statistics | \Zend_Gdata_YouTube_Extension_Statistics | The statistics element for the video in the message |
Type | Description |
---|---|
\Zend_Gdata_YouTube_InboxEntry | Provides a fluent interface |