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 video playlist flavor of an Atom entry

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

getCountHint(
)
:
\Zend_Gdata_YouTube_Extension_CountHint
Returns the countHint relating to the playlist.
The countHint is the number of videos on a playlist.
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_CountHint | The count of videos on a playlist. |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |

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
Returns the description relating to the video.
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Description | The description relating to the video |

getFeedLink(
string $rel
=
null
)
:
mixed
Get the feed link property for this entry.
Name | Type | Description |
---|---|---|
$rel | string | (optional) The rel value of the link to be found. If null, the array of links is returned. |
Type | Description |
---|---|
mixed | If $rel is specified, a Zend_Gdata_Extension_FeedLink object corresponding to the requested rel value is returned if found, or null if the requested value is not found. If $rel is null or not specified, an array of all available feed links for this entry is returned, or null if no feed links are set. |

getPlaylistId(
)
:
\Zend_Gdata_YouTube_Extension_PlaylistId
Returns the Id relating to the playlist.
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_PlaylistId | The id of this playlist. |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |

getPlaylistVideoFeedUrl(
)
:
string
Returns the URL of the playlist video feed
Type | Description |
---|---|
string | The URL of the playlist video feed |

setDescription(
\Zend_Gdata_YouTube_Extension_Description $description
=
null
)
:
\Zend_Gdata_YouTube_PlaylistListEntry
Sets the description relating to the playlist.
Name | Type | Description |
---|---|---|
$description | \Zend_Gdata_YouTube_Extension_Description | The description relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_PlaylistListEntry | Provides a fluent interface |

setFeedLink(
array $feedLink
=
null
)
:
\Zend_Gdata_YouTube_PlaylistListEntry
Sets the array of embedded feeds related to the playlist
Name | Type | Description |
---|---|---|
$feedLink | array | The array of embedded feeds relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_PlaylistListEntry | Provides a fluent interface |