Gdata/YouTube/PlaylistVideoEntry.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- YouTube
- Version
- $Id: PlaylistVideoEntry.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Gdata_YouTube_PlaylistVideoEntry
Represents the YouTube video playlist flavor of an Atom entry
- Parent(s)
- \Zend_Gdata_YouTube_VideoEntry < \Zend_Gdata_YouTube_MediaEntry < \Zend_Gdata_Media_Entry < \Zend_Gdata_Entry < \Zend_Gdata_App_MediaEntry < \Zend_Gdata_App_Entry < \Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants

YOUTUBE_DEVELOPER_TAGS_SCHEMA
= 'http://gdata.youtube.com/schemas/2007/developertags.cat'

YOUTUBE_CATEGORY_SCHEMA
= 'http://gdata.youtube.com/schemas/2007/categories.cat'
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::YOUTUBE_CATEGORY_SCHEMA
Properties


$_author = array()
array()
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_author
- Inherited_from
- \Zend_Gdata_App_Entry::$$_author
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_author
- Inherited_from
- \Zend_Gdata_Entry::$$_author
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_author
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_author
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_author


$_category = array()
array()
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_category
- Inherited_from
- \Zend_Gdata_App_Entry::$$_category
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_category
- Inherited_from
- \Zend_Gdata_Entry::$$_category
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_category
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_category
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_category


\Zend_Gdata_Extensions_Comments $_comments = null
Specifies the comments associated with a video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_commentsnull
Details- Type
- \Zend_Gdata_Extensions_Comments
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_comments


\Zend_Gdata_App_Extension_Content $_content = null
atom:content element
Inherited from: \Zend_Gdata_App_Entry::$$_content\Zend_Gdata_App_MediaEntry::$$_content\Zend_Gdata_Entry::$$_content\Zend_Gdata_Media_Entry::$$_content\Zend_Gdata_YouTube_MediaEntry::$$_content\Zend_Gdata_YouTube_VideoEntry::$$_contentnull
Details- Type
- \Zend_Gdata_App_Extension_Content
- Inherited_from
- \Zend_Gdata_App_Entry::$$_content
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_content
- Inherited_from
- \Zend_Gdata_Entry::$$_content
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_content
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_content
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_content


$_contributor = array()
array()
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_contributor
- Inherited_from
- \Zend_Gdata_App_Entry::$$_contributor
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_contributor
- Inherited_from
- \Zend_Gdata_Entry::$$_contributor
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_contributor
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_contributor
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_contributor


\Zend_Gdata_App_Extension_Control $_control = null
app:control element
Inherited from: \Zend_Gdata_App_Entry::$$_control\Zend_Gdata_App_MediaEntry::$$_control\Zend_Gdata_Entry::$$_control\Zend_Gdata_Media_Entry::$$_control\Zend_Gdata_YouTube_MediaEntry::$$_control\Zend_Gdata_YouTube_VideoEntry::$$_controlnull
Details- Type
- \Zend_Gdata_App_Extension_Control
- Inherited_from
- \Zend_Gdata_App_Entry::$$_control
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_control
- Inherited_from
- \Zend_Gdata_Entry::$$_control
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_control
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_control
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_control


\Zend_Gdata_App_Extension_Edited $_edited = null
app:edited element
Inherited from: \Zend_Gdata_App_Entry::$$_edited\Zend_Gdata_App_MediaEntry::$$_edited\Zend_Gdata_Entry::$$_edited\Zend_Gdata_Media_Entry::$$_edited\Zend_Gdata_YouTube_MediaEntry::$$_edited\Zend_Gdata_YouTube_VideoEntry::$$_editednull
Details- Type
- \Zend_Gdata_App_Extension_Edited
- Inherited_from
- \Zend_Gdata_App_Entry::$$_edited
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_edited
- Inherited_from
- \Zend_Gdata_Entry::$$_edited
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_edited
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_edited
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_edited


string $_entryClassName = 'Zend_Gdata_YouTube_PlaylistVideoEntry'
Class name for each entry in this feed*
'Zend_Gdata_YouTube_PlaylistVideoEntry'
Details- Type
- string


string|null $_etag = NULL
The HTTP ETag associated with this entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::$$_etag\Zend_Gdata_App_Entry::$$_etag\Zend_Gdata_App_MediaEntry::$$_etag\Zend_Gdata_Entry::$$_etag\Zend_Gdata_Media_Entry::$$_etag\Zend_Gdata_YouTube_MediaEntry::$$_etag\Zend_Gdata_YouTube_VideoEntry::$$_etagUsed for optimistic concurrency in protoco v2 or greater.
NULL
Details- Type
- string | null
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_etag
- Inherited_from
- \Zend_Gdata_App_Entry::$$_etag
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_etag
- Inherited_from
- \Zend_Gdata_Entry::$$_etag
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_etag
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_etag
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_etag


array $_extensionAttributes = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Gdata_App_Base::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_App_Entry::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_Entry::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_extensionAttributes
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_extensionAttributes


array $_extensionElements = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Gdata_App_Base::$$_extensionElements
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_extensionElements
- Inherited_from
- \Zend_Gdata_App_Entry::$$_extensionElements
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_extensionElements
- Inherited_from
- \Zend_Gdata_Entry::$$_extensionElements
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_extensionElements
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_extensionElements
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_extensionElements


array $_feedLink = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_feedLink


$_id = null
null
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_id
- Inherited_from
- \Zend_Gdata_App_Entry::$$_id
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_id
- Inherited_from
- \Zend_Gdata_Entry::$$_id
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_id
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_id
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_id


$_link = array()
array()
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_link
- Inherited_from
- \Zend_Gdata_App_Entry::$$_link
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_link
- Inherited_from
- \Zend_Gdata_Entry::$$_link
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_link
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_link
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_link


\Zend_Gdata_YouTube_Extension_Location|null $_location = null
Location informtion for the video
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_locationnull
Details- Type
- \Zend_Gdata_YouTube_Extension_Location | null
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_location


$_majorProtocolVersion = 1
Indicates the major protocol version that should be used.
Inherited from: \Zend_Gdata_App_FeedEntryParent::$$_majorProtocolVersion\Zend_Gdata_App_Entry::$$_majorProtocolVersion\Zend_Gdata_App_MediaEntry::$$_majorProtocolVersion\Zend_Gdata_Entry::$$_majorProtocolVersion\Zend_Gdata_Media_Entry::$$_majorProtocolVersion\Zend_Gdata_YouTube_MediaEntry::$$_majorProtocolVersion\Zend_Gdata_YouTube_VideoEntry::$$_majorProtocolVersionAt present, recognized values are either 1 or 2. However, any integer value >= 1 is considered valid.
1
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_App_Entry::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_Entry::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_majorProtocolVersion
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_majorProtocolVersion
- See
- \global\setMajorProtocolVersion()
- See
- \global\getMajorProtocolVersion()


\Zend_Gdata_YouTube_Extension_MediaGroup $_mediaGroup = null
media:group element
Inherited from: \Zend_Gdata_YouTube_MediaEntry::$$_mediaGroup\Zend_Gdata_YouTube_VideoEntry::$$_mediaGroupnull
Details- Type
- \Zend_Gdata_YouTube_Extension_MediaGroup
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_mediaGroup
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_mediaGroup


\Zend_Gdata_App_MediaSource $_mediaSource = null
The attached MediaSource/file
Inherited from: \Zend_Gdata_App_MediaEntry::$$_mediaSource\Zend_Gdata_Entry::$$_mediaSource\Zend_Gdata_Media_Entry::$$_mediaSource\Zend_Gdata_YouTube_MediaEntry::$$_mediaSource\Zend_Gdata_YouTube_VideoEntry::$$_mediaSourcenull
Details- Type
- \Zend_Gdata_App_MediaSource
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_mediaSource
- Inherited_from
- \Zend_Gdata_Entry::$$_mediaSource
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_mediaSource
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_mediaSource
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_mediaSource


$_minorProtocolVersion = null
Indicates the minor protocol version that should be used.
Inherited from: \Zend_Gdata_App_FeedEntryParent::$$_minorProtocolVersion\Zend_Gdata_App_Entry::$$_minorProtocolVersion\Zend_Gdata_App_MediaEntry::$$_minorProtocolVersion\Zend_Gdata_Entry::$$_minorProtocolVersion\Zend_Gdata_Media_Entry::$$_minorProtocolVersion\Zend_Gdata_YouTube_MediaEntry::$$_minorProtocolVersion\Zend_Gdata_YouTube_VideoEntry::$$_minorProtocolVersionCan be set to either an integer >= 0, or NULL if no minor version should be sent to the server.
null
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_App_Entry::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_Entry::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_minorProtocolVersion
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_minorProtocolVersion
- See
- \global\setMinorProtocolVersion()
- See
- \global\getMinorProtocolVersion()


array $_namespaceLookupCache = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Gdata_App_Base::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_App_Entry::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_Entry::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_namespaceLookupCache
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_namespaceLookupCache


array $_namespaces = array('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))
List of namespaces, as a three-dimensional array.
Inherited from: \Zend_Gdata_App_Base::$$_namespaces\Zend_Gdata_App_FeedEntryParent::$$_namespaces\Zend_Gdata_App_Entry::$$_namespaces\Zend_Gdata_App_MediaEntry::$$_namespaces\Zend_Gdata_Entry::$$_namespaces\Zend_Gdata_Media_Entry::$$_namespaces\Zend_Gdata_YouTube_MediaEntry::$$_namespaces\Zend_Gdata_YouTube_VideoEntry::$$_namespacesThe first dimension represents the namespace prefix, the second dimension represents the minimum major protocol version, and the third dimension is the minimum minor protocol version. Null keys are NOT allowed.
When looking up a namespace for a given prefix, the greatest version number (both major and minor) which is less than the effective version should be used.
array('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))
Details- Type
- array
- Inherited_from
- \Zend_Gdata_App_Base::$$_namespaces
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_namespaces
- Inherited_from
- \Zend_Gdata_App_Entry::$$_namespaces
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_namespaces
- Inherited_from
- \Zend_Gdata_Entry::$$_namespaces
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_namespaces
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_namespaces
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_namespaces
- See
- \global\lookupNamespace()
- See
- \global\registerNamespace()
- See
- \global\registerAllNamespaces()


\Zend_Gdata_YouTube_Extension_NoEmbed|null $_noEmbed = null
If null, the video can be embedded
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_noEmbednull
Details- Type
- \Zend_Gdata_YouTube_Extension_NoEmbed | null
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_noEmbed


\Zend_Gdata_YouTube_Extension_Position $_position = null
Position of the entry in the feed, as specified by the user
null
Details


\Zend_Gdata_YouTube_Extension_Private|null $_private = null
If not null, specifies that the video is private.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_privatenull
Details- Type
- \Zend_Gdata_YouTube_Extension_Private | null
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_private


\Zend_Gdata_App_Extension_Published $_published = null
atom:published element
Inherited from: \Zend_Gdata_App_Entry::$$_published\Zend_Gdata_App_MediaEntry::$$_published\Zend_Gdata_Entry::$$_published\Zend_Gdata_Media_Entry::$$_published\Zend_Gdata_YouTube_MediaEntry::$$_published\Zend_Gdata_YouTube_VideoEntry::$$_publishednull
Details- Type
- \Zend_Gdata_App_Extension_Published
- Inherited_from
- \Zend_Gdata_App_Entry::$$_published
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_published
- Inherited_from
- \Zend_Gdata_Entry::$$_published
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_published
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_published
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_published


\Zend_Gdata_YouTube_Extension_Racy|null $_racy = null
If not null, specifies that the video has racy content.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_racynull
Details- Type
- \Zend_Gdata_YouTube_Extension_Racy | null
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_racy


\Zend_Gdata_Extension_Rating $_rating = null
null
Details- Type
- \Zend_Gdata_Extension_Rating
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_rating


\Zend_Gdata_YouTube_Extension_Recorded|null $_recorded = null
null
Details- Type
- \Zend_Gdata_YouTube_Extension_Recorded | null
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_recorded


$_rights = null
null
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_rights
- Inherited_from
- \Zend_Gdata_App_Entry::$$_rights
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_rights
- Inherited_from
- \Zend_Gdata_Entry::$$_rights
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_rights
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_rights
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_rights


string $_rootElement = 'entry'
Root XML element for Atom entries.
Inherited from: \Zend_Gdata_App_Entry::$$_rootElement\Zend_Gdata_App_MediaEntry::$$_rootElement\Zend_Gdata_Entry::$$_rootElement\Zend_Gdata_Media_Entry::$$_rootElement\Zend_Gdata_YouTube_MediaEntry::$$_rootElement\Zend_Gdata_YouTube_VideoEntry::$$_rootElement'entry'
Details- Type
- string
- Inherited_from
- \Zend_Gdata_App_Entry::$$_rootElement
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_rootElement
- Inherited_from
- \Zend_Gdata_Entry::$$_rootElement
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_rootElement
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_rootElement
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_rootElement


string $_rootNamespace = 'atom'
'atom'
Details- Type
- string
- Inherited_from
- \Zend_Gdata_App_Base::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_App_Entry::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_Entry::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_rootNamespace
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_rootNamespace


string $_rootNamespaceURI = null
null
Details- Type
- string
- Inherited_from
- \Zend_Gdata_App_Base::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_App_Entry::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_Entry::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_rootNamespaceURI
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_rootNamespaceURI


$_service = null
Service instance used to make network requests.
Inherited from: \Zend_Gdata_App_FeedEntryParent::$$_service\Zend_Gdata_App_Entry::$$_service\Zend_Gdata_App_MediaEntry::$$_service\Zend_Gdata_Entry::$$_service\Zend_Gdata_Media_Entry::$$_service\Zend_Gdata_YouTube_MediaEntry::$$_service\Zend_Gdata_YouTube_VideoEntry::$$_servicenull
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_service
- Inherited_from
- \Zend_Gdata_App_Entry::$$_service
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_service
- Inherited_from
- \Zend_Gdata_Entry::$$_service
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_service
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_service
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_service
- See
- \global\setService(),


\Zend_Gdata_App_Extension_Source $_source = null
atom:source element
Inherited from: \Zend_Gdata_App_Entry::$$_source\Zend_Gdata_App_MediaEntry::$$_source\Zend_Gdata_Entry::$$_source\Zend_Gdata_Media_Entry::$$_source\Zend_Gdata_YouTube_MediaEntry::$$_source\Zend_Gdata_YouTube_VideoEntry::$$_sourcenull
Details- Type
- \Zend_Gdata_App_Extension_Source
- Inherited_from
- \Zend_Gdata_App_Entry::$$_source
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_source
- Inherited_from
- \Zend_Gdata_Entry::$$_source
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_source
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_source
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_source


\Zend_Gdata_YouTube_Extension_Statistics $_statistics = null
Specifies the statistics relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::$$_statisticsnull
Details


\Zend_Gdata_App_Extension_Summary $_summary = null
atom:summary element
Inherited from: \Zend_Gdata_App_Entry::$$_summary\Zend_Gdata_App_MediaEntry::$$_summary\Zend_Gdata_Entry::$$_summary\Zend_Gdata_Media_Entry::$$_summary\Zend_Gdata_YouTube_MediaEntry::$$_summary\Zend_Gdata_YouTube_VideoEntry::$$_summarynull
Details- Type
- \Zend_Gdata_App_Extension_Summary
- Inherited_from
- \Zend_Gdata_App_Entry::$$_summary
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_summary
- Inherited_from
- \Zend_Gdata_Entry::$$_summary
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_summary
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_summary
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_summary


string $_text = null
null
Details- Type
- string
- Inherited_from
- \Zend_Gdata_App_Base::$$_text
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_text
- Inherited_from
- \Zend_Gdata_App_Entry::$$_text
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_text
- Inherited_from
- \Zend_Gdata_Entry::$$_text
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_text
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_text
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_text


$_title = null
null
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_title
- Inherited_from
- \Zend_Gdata_App_Entry::$$_title
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_title
- Inherited_from
- \Zend_Gdata_Entry::$$_title
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_title
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_title
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_title


$_updated = null
null
Details- Type
- n/a
- Inherited_from
- \Zend_Gdata_App_FeedEntryParent::$$_updated
- Inherited_from
- \Zend_Gdata_App_Entry::$$_updated
- Inherited_from
- \Zend_Gdata_App_MediaEntry::$$_updated
- Inherited_from
- \Zend_Gdata_Entry::$$_updated
- Inherited_from
- \Zend_Gdata_Media_Entry::$$_updated
- Inherited_from
- \Zend_Gdata_YouTube_MediaEntry::$$_updated
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_updated


\Zend_Gdata_Geo_Extension_GeoRssWhere $_where = null
null
Details- Type
- \Zend_Gdata_Geo_Extension_GeoRssWhere
- Inherited_from
- \Zend_Gdata_YouTube_VideoEntry::$$_where
Methods


__construct(\DOMElement $element = null) : void
Creates a Playlist video entry, representing an individual video in a list of videos contained within a specific playlist
Name | Type | Description |
---|---|---|
$element | \DOMElement | (optional) DOMElement from which this object should be constructed. |


__get(string $name) : void
Magic getter to allow access like $entry->foo to call $entry->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.
Inherited from: \Zend_Gdata_App_Base::__get()\Zend_Gdata_App_FeedEntryParent::__get()\Zend_Gdata_App_Entry::__get()\Zend_Gdata_App_MediaEntry::__get()\Zend_Gdata_Entry::__get()\Zend_Gdata_Media_Entry::__get()\Zend_Gdata_YouTube_MediaEntry::__get()\Zend_Gdata_YouTube_VideoEntry::__get()TODO Remove ability to bypass getFoo() methods??
Name | Type | Description |
---|---|---|
$name | string | The variable name sought |


__isset(string $name) : void
Magic __isset method
Inherited from: \Zend_Gdata_App_Base::__isset()\Zend_Gdata_App_FeedEntryParent::__isset()\Zend_Gdata_App_Entry::__isset()\Zend_Gdata_App_MediaEntry::__isset()\Zend_Gdata_Entry::__isset()\Zend_Gdata_Media_Entry::__isset()\Zend_Gdata_YouTube_MediaEntry::__isset()\Zend_Gdata_YouTube_VideoEntry::__isset()Name | Type | Description |
---|---|---|
$name | string |


__set(string $name, $val) : void
Magic setter to allow acces like $entry->foo='bar' to call $entry->setFoo('bar') automatically.
Inherited from: \Zend_Gdata_App_Base::__set()\Zend_Gdata_App_FeedEntryParent::__set()\Zend_Gdata_App_Entry::__set()\Zend_Gdata_App_MediaEntry::__set()\Zend_Gdata_Entry::__set()\Zend_Gdata_Media_Entry::__set()\Zend_Gdata_YouTube_MediaEntry::__set()\Zend_Gdata_YouTube_VideoEntry::__set()Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
Name | Type | Description |
---|---|---|
$name | string | |
$val |


__toString() : string
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0
Inherited from: \Zend_Gdata_App_Base::__toString()\Zend_Gdata_App_FeedEntryParent::__toString()\Zend_Gdata_App_Entry::__toString()\Zend_Gdata_App_MediaEntry::__toString()\Zend_Gdata_Entry::__toString()\Zend_Gdata_Media_Entry::__toString()\Zend_Gdata_YouTube_MediaEntry::__toString()\Zend_Gdata_YouTube_VideoEntry::__toString()Type | Description |
---|---|
string | The text representation of this object |


__unset(string $name) : void
Magic __unset method
Inherited from: \Zend_Gdata_App_Base::__unset()\Zend_Gdata_App_FeedEntryParent::__unset()\Zend_Gdata_App_Entry::__unset()\Zend_Gdata_App_MediaEntry::__unset()\Zend_Gdata_Entry::__unset()\Zend_Gdata_Media_Entry::__unset()\Zend_Gdata_YouTube_MediaEntry::__unset()\Zend_Gdata_YouTube_VideoEntry::__unset()Name | Type | Description |
---|---|---|
$name | string |


addVideoDeveloperTag(string $developerTag) : \Zend_Gdata_YouTube_VideoEntry
Adds a developer tag to array of tags for the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::addVideoDeveloperTag()Name | Type | Description |
---|---|---|
$developerTag | string | DeveloperTag for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


delete() : void
Deletes this entry to the server using the referenced Zend_Http_Client to do a HTTP DELETE to the edit link stored in this entry's link collection.
Inherited from: \Zend_Gdata_App_Entry::delete()\Zend_Gdata_App_MediaEntry::delete()\Zend_Gdata_Entry::delete()\Zend_Gdata_Media_Entry::delete()\Zend_Gdata_YouTube_MediaEntry::delete()\Zend_Gdata_YouTube_VideoEntry::delete()Exception | Description |
---|---|
\Zend_Gdata_App_Exception |


encode() : string | \Zend_Gdata_MediaMimeStream
Return the MIME multipart representation of this MediaEntry.
Inherited from: \Zend_Gdata_App_MediaEntry::encode()\Zend_Gdata_Entry::encode()\Zend_Gdata_Media_Entry::encode()\Zend_Gdata_YouTube_MediaEntry::encode()\Zend_Gdata_YouTube_VideoEntry::encode()Can be overridden by children to provide more complex representations of entries.
Type | Description |
---|---|
string | \Zend_Gdata_MediaMimeStream | The MIME multipart representation of this MediaEntry. If the entry consisted only of XML, a string is returned. |


ensureMediaGroupIsNotNull() : void
Get the VideoEntry's Zend_Gdata_YouTube_Extension_MediaGroup object.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::ensureMediaGroupIsNotNull()If the mediaGroup does not exist, then set it.


flushNamespaceLookupCache() : void
Flush namespace lookup cache.
Inherited from: \Zend_Gdata_App_Base::flushNamespaceLookupCache()\Zend_Gdata_App_FeedEntryParent::flushNamespaceLookupCache()\Zend_Gdata_App_Entry::flushNamespaceLookupCache()\Zend_Gdata_App_MediaEntry::flushNamespaceLookupCache()\Zend_Gdata_Entry::flushNamespaceLookupCache()\Zend_Gdata_Media_Entry::flushNamespaceLookupCache()\Zend_Gdata_YouTube_MediaEntry::flushNamespaceLookupCache()\Zend_Gdata_YouTube_VideoEntry::flushNamespaceLookupCache()Empties the namespace lookup cache. Call this function if you have added data to the namespace lookup table that contradicts values that may have been cached during a previous call to lookupNamespace().


getAlternateLink() : \Zend_Gdata_App_Extension_Link
Returns the Zend_Gdata_App_Extension_Link element which represents the URL for an alternate view of the data represented by this feed or entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getAlternateLink()\Zend_Gdata_App_Entry::getAlternateLink()\Zend_Gdata_App_MediaEntry::getAlternateLink()\Zend_Gdata_Entry::getAlternateLink()\Zend_Gdata_Media_Entry::getAlternateLink()\Zend_Gdata_YouTube_MediaEntry::getAlternateLink()\Zend_Gdata_YouTube_VideoEntry::getAlternateLink()This alternate view is commonly a user-facing webpage, blog post, etc. The MIME type for the data at the URL is available from the returned Zend_Gdata_App_Extension_Link element. This link is in the atom feed/entry as an atom:link with a rel attribute value of 'self'.
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link | The link, or null if not found |


getAuthor() : \Zend_Gdata_App_Extension_Author
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Author |


getCategory() : array
Returns the array of categories that classify this feed/entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getCategory()\Zend_Gdata_App_Entry::getCategory()\Zend_Gdata_App_MediaEntry::getCategory()\Zend_Gdata_Entry::getCategory()\Zend_Gdata_Media_Entry::getCategory()\Zend_Gdata_YouTube_MediaEntry::getCategory()\Zend_Gdata_YouTube_VideoEntry::getCategory()Each category is represented in an atom feed by an atom:category element.
Type | Description |
---|---|
array | Array of Zend_Gdata_App_Extension_Category |


getComments() : \Zend_Gdata_Extension_Comments
Returns the comments relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getComments()Type | Description |
---|---|
\Zend_Gdata_Extension_Comments | The comments relating to the video |


getContent() : \Zend_Gdata_App_Extension_Content
Gets the value of the atom:content element
Inherited from: \Zend_Gdata_App_Entry::getContent()\Zend_Gdata_App_MediaEntry::getContent()\Zend_Gdata_Entry::getContent()\Zend_Gdata_Media_Entry::getContent()\Zend_Gdata_YouTube_MediaEntry::getContent()\Zend_Gdata_YouTube_VideoEntry::getContent()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Content |


getContributor() : array
Returns the array of contributors to this feed/entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getContributor()\Zend_Gdata_App_Entry::getContributor()\Zend_Gdata_App_MediaEntry::getContributor()\Zend_Gdata_Entry::getContributor()\Zend_Gdata_Media_Entry::getContributor()\Zend_Gdata_YouTube_MediaEntry::getContributor()\Zend_Gdata_YouTube_VideoEntry::getContributor()Each contributor is represented in an atom feed by an atom:contributor XML element
Type | Description |
---|---|
array | An array of Zend_Gdata_App_Extension_Contributor |


getControl() : \Zend_Gdata_App_Extension_Control
Gets the value of the app:control element
Inherited from: \Zend_Gdata_App_Entry::getControl()\Zend_Gdata_App_MediaEntry::getControl()\Zend_Gdata_Entry::getControl()\Zend_Gdata_Media_Entry::getControl()\Zend_Gdata_YouTube_MediaEntry::getControl()\Zend_Gdata_YouTube_VideoEntry::getControl()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Control |


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


getEditLink() : \Zend_Gdata_App_Extension_Link
Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to edit this resource.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getEditLink()\Zend_Gdata_App_Entry::getEditLink()\Zend_Gdata_App_MediaEntry::getEditLink()\Zend_Gdata_Entry::getEditLink()\Zend_Gdata_Media_Entry::getEditLink()\Zend_Gdata_YouTube_MediaEntry::getEditLink()\Zend_Gdata_YouTube_VideoEntry::getEditLink()This link is in the atom feed/entry as an atom:link with a rel attribute value of 'edit'.
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link | The link, or null if not found |


getEtag() : string | null
Return the Etag for the current entry, or null if not set.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getEtag()\Zend_Gdata_App_Entry::getEtag()\Zend_Gdata_App_MediaEntry::getEtag()\Zend_Gdata_Entry::getEtag()\Zend_Gdata_Media_Entry::getEtag()\Zend_Gdata_YouTube_MediaEntry::getEtag()\Zend_Gdata_YouTube_VideoEntry::getEtag()Type | Description |
---|---|
string | null |


getExtensionAttributes() : array
Returns an array of all extension attributes not transformed into data model properties during parsing of the XML.
Inherited from: \Zend_Gdata_App_Base::getExtensionAttributes()\Zend_Gdata_App_FeedEntryParent::getExtensionAttributes()\Zend_Gdata_App_Entry::getExtensionAttributes()\Zend_Gdata_App_MediaEntry::getExtensionAttributes()\Zend_Gdata_Entry::getExtensionAttributes()\Zend_Gdata_Media_Entry::getExtensionAttributes()\Zend_Gdata_YouTube_MediaEntry::getExtensionAttributes()\Zend_Gdata_YouTube_VideoEntry::getExtensionAttributes()Each element of the array is a hashed array of the format: array('namespaceUri' => string, 'name' => string, 'value' => string);
Type | Description |
---|---|
array | All extension attributes |


getExtensionElements() : array
Returns an array of all elements not matched to data model classes during the parsing of the XML
Inherited from: \Zend_Gdata_App_Base::getExtensionElements()\Zend_Gdata_App_FeedEntryParent::getExtensionElements()\Zend_Gdata_App_Entry::getExtensionElements()\Zend_Gdata_App_MediaEntry::getExtensionElements()\Zend_Gdata_Entry::getExtensionElements()\Zend_Gdata_Media_Entry::getExtensionElements()\Zend_Gdata_YouTube_MediaEntry::getExtensionElements()\Zend_Gdata_YouTube_VideoEntry::getExtensionElements()Type | Description |
---|---|
array | All elements not matched to data model classes during parsing |


getFeedLink(string $rel = null) : mixed
Get the feed link property for this entry.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getFeedLink()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. |
- See
- \global\setFeedLink


getFlashPlayerUrl() : string | null
Gets the URL of the flash player SWF.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getFlashPlayerUrl()null is returned if the duration value is not available.
Type | Description |
---|---|
string | null | The URL of the flash player SWF |


getHttpClient() : \Zend_Http_Client_Abstract
Gets the HTTP client object.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getHttpClient()\Zend_Gdata_App_Entry::getHttpClient()\Zend_Gdata_App_MediaEntry::getHttpClient()\Zend_Gdata_Entry::getHttpClient()\Zend_Gdata_Media_Entry::getHttpClient()\Zend_Gdata_YouTube_MediaEntry::getHttpClient()\Zend_Gdata_YouTube_VideoEntry::getHttpClient()If none is set, a new Zend_Http_Client will be used.
Type | Description |
---|---|
\Zend_Http_Client_Abstract |


getId() : \Zend_Gdata_App_Extension_Id
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Id |


getLicenseLink() : \Zend_Gdata_App_Extension_Link
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link |


getLink(string $rel = null) : mixed
Given a particular 'rel' value, this method returns a matching Zend_Gdata_App_Extension_Link element.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getLink()\Zend_Gdata_App_Entry::getLink()\Zend_Gdata_App_MediaEntry::getLink()\Zend_Gdata_Entry::getLink()\Zend_Gdata_Media_Entry::getLink()\Zend_Gdata_YouTube_MediaEntry::getLink()\Zend_Gdata_YouTube_VideoEntry::getLink()If the 'rel' value is not provided, the full array of Zend_Gdata_App_Extension_Link elements is returned. In an atom feed, each link is represented by an atom:link element. The 'rel' value passed to this function is the atom:link/@rel attribute. Example rel values include 'self', 'edit', and 'alternate'.
Name | Type | Description |
---|---|---|
$rel | string | The rel value of the link to be found. If null, the array of Zend_Gdata_App_Extension_link elements is returned |
Type | Description |
---|---|
mixed | Either a single Zend_Gdata_App_Extension_link element, an array of the same or null is returned depending on the rel value supplied as the argument to this function |


getLocation() : \Zend_Gdata_YouTube_Extension_Location | null
Gets the location where the video was recorded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getLocation()Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Location | null |


getMajorProtocolVersion() : \(int | \NULL)
Get the major protocol version that is in use.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()\Zend_Gdata_App_Entry::getMajorProtocolVersion()\Zend_Gdata_App_MediaEntry::getMajorProtocolVersion()\Zend_Gdata_Entry::getMajorProtocolVersion()\Zend_Gdata_Media_Entry::getMajorProtocolVersion()\Zend_Gdata_YouTube_MediaEntry::getMajorProtocolVersion()\Zend_Gdata_YouTube_VideoEntry::getMajorProtocolVersion()Type | Description |
---|---|
\(int | \NULL) | The major protocol version in use. |
- See
- \global\_majorProtocolVersion


getMediaGroup() : \Zend_Gdata_Media_Extension_MediaGroup
Returns the entry's mediaGroup object.
Inherited from: \Zend_Gdata_Media_Entry::getMediaGroup()\Zend_Gdata_YouTube_MediaEntry::getMediaGroup()\Zend_Gdata_YouTube_VideoEntry::getMediaGroup()Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |


getMediaSource() : \Zend_Gdata_App_MediaSource
Return the MediaSource object representing the file attached to this MediaEntry.
Inherited from: \Zend_Gdata_App_MediaEntry::getMediaSource()\Zend_Gdata_Entry::getMediaSource()\Zend_Gdata_Media_Entry::getMediaSource()\Zend_Gdata_YouTube_MediaEntry::getMediaSource()\Zend_Gdata_YouTube_VideoEntry::getMediaSource()Type | Description |
---|---|
\Zend_Gdata_App_MediaSource | The attached MediaSource/file |


getMinorProtocolVersion() : \(int | \NULL)
Get the minor protocol version that is in use.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()\Zend_Gdata_App_Entry::getMinorProtocolVersion()\Zend_Gdata_App_MediaEntry::getMinorProtocolVersion()\Zend_Gdata_Entry::getMinorProtocolVersion()\Zend_Gdata_Media_Entry::getMinorProtocolVersion()\Zend_Gdata_YouTube_MediaEntry::getMinorProtocolVersion()\Zend_Gdata_YouTube_VideoEntry::getMinorProtocolVersion()Type | Description |
---|---|
\(int | \NULL) | The major protocol version in use, or NULL if no minor version is specified. |
- See
- \global\_minorProtocolVersion


getNextLink() : \Zend_Gdata_App_Extension_Link
Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the next chunk of results when paging through a feed.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getNextLink()\Zend_Gdata_App_Entry::getNextLink()\Zend_Gdata_App_MediaEntry::getNextLink()\Zend_Gdata_Entry::getNextLink()\Zend_Gdata_Media_Entry::getNextLink()\Zend_Gdata_YouTube_MediaEntry::getNextLink()\Zend_Gdata_YouTube_VideoEntry::getNextLink()This link is in the atom feed as an atom:link with a rel attribute value of 'next'.
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link | The link, or null if not found |


getNoEmbed() : \Zend_Gdata_YouTube_Extension_NoEmbed | null
If the return value is an instance of Zend_Gdata_YouTube_Extension_NoEmbed, this video cannot be embedded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getNoEmbed()Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_NoEmbed | null | Whether or not the video can be embedded |


getPosition() : \Zend_Gdata_YouTube_Extension_Position
Returns the position of the entry in the feed, as specified by the user
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Position | The position |


getPreviousLink() : \Zend_Gdata_App_Extension_Link
Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the previous chunk of results when paging through a feed.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getPreviousLink()\Zend_Gdata_App_Entry::getPreviousLink()\Zend_Gdata_App_MediaEntry::getPreviousLink()\Zend_Gdata_Entry::getPreviousLink()\Zend_Gdata_Media_Entry::getPreviousLink()\Zend_Gdata_YouTube_MediaEntry::getPreviousLink()\Zend_Gdata_YouTube_VideoEntry::getPreviousLink()This link is in the atom feed as an atom:link with a rel attribute value of 'previous'.
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link | The link, or null if not found |


getPublished() : \Zend_Gdata_App_Extension_Published
Sets the value of the atom:published element This represents the publishing date for an entry
Inherited from: \Zend_Gdata_App_Entry::getPublished()\Zend_Gdata_App_MediaEntry::getPublished()\Zend_Gdata_Entry::getPublished()\Zend_Gdata_Media_Entry::getPublished()\Zend_Gdata_YouTube_MediaEntry::getPublished()\Zend_Gdata_YouTube_VideoEntry::getPublished()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Published |


getRacy() : \Zend_Gdata_YouTube_Extension_Racy | null
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Racy | null | The racy flag object |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |


getRating() : \Zend_Gdata_Extension_Rating
Returns the rating relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getRating()Type | Description |
---|---|
\Zend_Gdata_Extension_Rating | The rating relating to the video |


getRecorded() : \Zend_Gdata_YouTube_Extension_Recorded | null
Gets the date that the video was recorded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getRecorded()Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Recorded | null |


getRights() : \Zend_Gdata_AppExtension_Rights
Type | Description |
---|---|
\Zend_Gdata_AppExtension_Rights |


getSelfLink() : \Zend_Gdata_App_Extension_Link
Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the entry or feed represented by this object This link is in the atom feed/entry as an atom:link with a rel attribute value of 'self'.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getSelfLink()\Zend_Gdata_App_Entry::getSelfLink()\Zend_Gdata_App_MediaEntry::getSelfLink()\Zend_Gdata_Entry::getSelfLink()\Zend_Gdata_Media_Entry::getSelfLink()\Zend_Gdata_YouTube_MediaEntry::getSelfLink()\Zend_Gdata_YouTube_VideoEntry::getSelfLink()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link | The link, or null if not found |


getService() : \Zend_Gdata_App | null
Get the active service instance for this object.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getService()\Zend_Gdata_App_Entry::getService()\Zend_Gdata_App_MediaEntry::getService()\Zend_Gdata_Entry::getService()\Zend_Gdata_Media_Entry::getService()\Zend_Gdata_YouTube_MediaEntry::getService()\Zend_Gdata_YouTube_VideoEntry::getService()This will be used to perform network requests, such as when calling save() and delete().
Type | Description |
---|---|
\Zend_Gdata_App | null | The current service instance, or null if not set. |


getSource() : \Zend_Gdata_App_Extension_Source
Gets the value of the atom:source element
Inherited from: \Zend_Gdata_App_Entry::getSource()\Zend_Gdata_App_MediaEntry::getSource()\Zend_Gdata_Entry::getSource()\Zend_Gdata_Media_Entry::getSource()\Zend_Gdata_YouTube_MediaEntry::getSource()\Zend_Gdata_YouTube_VideoEntry::getSource()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Source |


getStatistics() : \Zend_Gdata_YouTube_Extension_Statistics
Returns the statistics relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getStatistics()Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Statistics | The statistics relating to the video |


getSummary() : \Zend_Gdata_App_Extension_Summary
Gets the value of the atom:summary element This represents a textual summary of this entry's content
Inherited from: \Zend_Gdata_App_Entry::getSummary()\Zend_Gdata_App_MediaEntry::getSummary()\Zend_Gdata_Entry::getSummary()\Zend_Gdata_Media_Entry::getSummary()\Zend_Gdata_YouTube_MediaEntry::getSummary()\Zend_Gdata_YouTube_VideoEntry::getSummary()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Summary |


getText( $trim = true) : string
Returns the child text node of this element This represents any raw text contained within the XML element
Inherited from: \Zend_Gdata_App_Base::getText()\Zend_Gdata_App_FeedEntryParent::getText()\Zend_Gdata_App_Entry::getText()\Zend_Gdata_App_MediaEntry::getText()\Zend_Gdata_Entry::getText()\Zend_Gdata_Media_Entry::getText()\Zend_Gdata_YouTube_MediaEntry::getText()\Zend_Gdata_YouTube_VideoEntry::getText()Name | Type | Description |
---|---|---|
$trim |
Type | Description |
---|---|
string | Child text node |


getTitle() : \Zend_Gdata_App_Extension_Title
Returns the title of this feed or entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getTitle()\Zend_Gdata_App_Entry::getTitle()\Zend_Gdata_App_MediaEntry::getTitle()\Zend_Gdata_Entry::getTitle()\Zend_Gdata_Media_Entry::getTitle()\Zend_Gdata_YouTube_MediaEntry::getTitle()\Zend_Gdata_YouTube_VideoEntry::getTitle()The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Title |


getTitleValue() : string
Returns a string representation of the title of this feed or entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::getTitleValue()\Zend_Gdata_App_Entry::getTitleValue()\Zend_Gdata_App_MediaEntry::getTitleValue()\Zend_Gdata_Entry::getTitleValue()\Zend_Gdata_Media_Entry::getTitleValue()\Zend_Gdata_YouTube_MediaEntry::getTitleValue()\Zend_Gdata_YouTube_VideoEntry::getTitleValue()The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry
Type | Description |
---|---|
string |


getUpdated() : \Zend_Gdata_App_Extension_Updated
Type | Description |
---|---|
\Zend_Gdata_App_Extension_Updated |


getVideoCategory() : string | null
Gets the category of this video, if available.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoCategory()The category is returned as a string. Valid categories are found at: http://gdata.youtube.com/schemas/2007/categories.cat If the category is not set, null is returned.
Type | Description |
---|---|
string | null | The category of this video |


getVideoCommentFeedUrl() : string | null
Retrieve the URL for a video's comment feed.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoCommentFeedUrl()Type | Description |
---|---|
string | null | The URL if found, or null if not found. |


getVideoComplaintsLink() : \Zend_Gdata_App_Extension_Link
Returns the link element relating to video complaints.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoComplaintsLink()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link |


getVideoDescription() : string | null
Gets the description of the video as a string.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoDescription()null is returned if the video description is not available.
Type | Description |
---|---|
string | null | The description of the video |


getVideoDeveloperTags() : array | null
Gets the developer tags for the video, if available and if client is authenticated with a valid developerKey.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoDeveloperTags()The tags are returned as an array. If no tags are set, null is returned.
Type | Description |
---|---|
array | null | The developer tags for this video or null if none were set. |


getVideoDuration() : string | null
Gets the duration of the video, in seconds.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoDuration()null is returned if the duration value is not available.
Type | Description |
---|---|
string | null | The duration of the video, in seconds. |


getVideoGeoLocation() : array | null
Gets the location specified for this video, if available.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoGeoLocation()The location is returned as an array containing the keys 'longitude' and 'latitude'. null is returned if the location is not available.
Type | Description |
---|---|
array | null | The location specified for this video |


getVideoId() : string
Gets the YouTube video ID based upon the atom:id value
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoId()Type | Description |
---|---|
string | The video ID |


getVideoRatingInfo() : array | null
Gets the rating information for this video, if available.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoRatingInfo()The rating is returned as an array containing the keys 'average' and 'numRaters'. null is returned if the rating information is not available.
Type | Description |
---|---|
array | null | The rating information for this video |


getVideoRatingsLink() : \Zend_Gdata_App_Extension_Link
Returns the link element relating to video ratings.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoRatingsLink()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link |


getVideoRecorded() : string | null
Gets the date that the video was recorded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoRecorded()Type | Description |
---|---|
string | null | The date that the video was recorded |


getVideoResponsesLink() : \Zend_Gdata_App_Extension_Link
Returns the link element relating to video responses.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoResponsesLink()Type | Description |
---|---|
\Zend_Gdata_App_Extension_Link |


getVideoState() : \Zend_Gdata_YouTube_Extension_State | null
Get the current publishing state of the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoState()Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_State | null | The publishing state of this video |


getVideoTags() : array
Gets an array of the tags assigned to this video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoTags()For convient usage inside a foreach loop, an empty array is returned when there are no tags assigned.
Type | Description |
---|---|
array | An array of the tags assigned to this video |


getVideoThumbnails() : array
Gets an array of the thumbnails representing the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoThumbnails()Each thumbnail is an element of the array, and is an array of the thumbnail properties - time, height, width, and url. For convient usage inside a foreach loop, an empty array is returned if there are no thumbnails.
Type | Description |
---|---|
array | An array of video thumbnails. |


getVideoTitle() : string | null
Gets the title of the video as a string.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoTitle()null is returned if the video title is not available.
Type | Description |
---|---|
string | null | The title of the video |


getVideoViewCount() : string | null
Gets the number of views for this video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoViewCount()null is returned if the number of views is not available.
Type | Description |
---|---|
string | null | The number of views for this video |


getVideoWatchPageUrl() : string | null
Gets the URL of the YouTube video watch page.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::getVideoWatchPageUrl()null is returned if the video watch page URL is not available.
Type | Description |
---|---|
string | null | The URL of the YouTube video watch page |


getWhere() : \Zend_Gdata_Geo_Extension_GeoRssWhere
Type | Description |
---|---|
\Zend_Gdata_Geo_Extension_GeoRssWhere |


getXML() : string
Alias for saveXML() returns XML content for this element and all children
Inherited from: \Zend_Gdata_App_Base::getXML()\Zend_Gdata_App_FeedEntryParent::getXML()\Zend_Gdata_App_Entry::getXML()\Zend_Gdata_App_MediaEntry::getXML()\Zend_Gdata_Entry::getXML()\Zend_Gdata_Media_Entry::getXML()\Zend_Gdata_YouTube_MediaEntry::getXML()\Zend_Gdata_YouTube_VideoEntry::getXML()Type | Description |
---|---|
string | XML content |


isVideoEmbeddable() : bool
Checks whether the video is embeddable.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::isVideoEmbeddable()Type | Description |
---|---|
bool | Returns true if the video is embeddable. |


isVideoPrivate() : bool
Checks whether the video is private.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::isVideoPrivate()Type | Description |
---|---|
bool | Return true if video is private |


lookupNamespace(string $prefix, integer $majorVersion = null, integer $minorVersion = null) : string
Get the full version of a namespace prefix
Inherited from: \Zend_Gdata_App_FeedEntryParent::lookupNamespace()\Zend_Gdata_App_Entry::lookupNamespace()\Zend_Gdata_App_MediaEntry::lookupNamespace()\Zend_Gdata_Entry::lookupNamespace()\Zend_Gdata_Media_Entry::lookupNamespace()\Zend_Gdata_YouTube_MediaEntry::lookupNamespace()\Zend_Gdata_YouTube_VideoEntry::lookupNamespace()Looks up a prefix (atom:, etc.) in the list of registered namespaces and returns the full namespace URI if available. Returns the prefix, unmodified, if it's not registered.
The current entry or feed's version will be used when performing the namespace lookup unless overridden using $majorVersion and $minorVersion. If the entry/fee has a null version, then the latest protocol version will be used by default.
Name | Type | Description |
---|---|---|
$prefix | string | The namespace prefix to lookup. |
$majorVersion | integer | The major protocol version in effect. Defaults to null (auto-select). |
$minorVersion | integer | The minor protocol version in effect. Defaults to null (auto-select). |
Type | Description |
---|---|
string |


registerAllNamespaces(array $namespaceArray) : void
Add an array of namespaces to the registered list.
Inherited from: \Zend_Gdata_App_Base::registerAllNamespaces()\Zend_Gdata_App_FeedEntryParent::registerAllNamespaces()\Zend_Gdata_App_Entry::registerAllNamespaces()\Zend_Gdata_App_MediaEntry::registerAllNamespaces()\Zend_Gdata_Entry::registerAllNamespaces()\Zend_Gdata_Media_Entry::registerAllNamespaces()\Zend_Gdata_YouTube_MediaEntry::registerAllNamespaces()\Zend_Gdata_YouTube_VideoEntry::registerAllNamespaces()Takes an array in the format of: namespace prefix, namespace URI, major protocol version, minor protocol version and adds them with calls to ->registerNamespace()
Name | Type | Description |
---|---|---|
$namespaceArray | array | An array of namespaces. |


registerNamespace(string $prefix, string $namespaceUri, integer $majorVersion = 1, integer $minorVersion = 0) : void
Add a namespace and prefix to the registered list
Inherited from: \Zend_Gdata_App_Base::registerNamespace()\Zend_Gdata_App_FeedEntryParent::registerNamespace()\Zend_Gdata_App_Entry::registerNamespace()\Zend_Gdata_App_MediaEntry::registerNamespace()\Zend_Gdata_Entry::registerNamespace()\Zend_Gdata_Media_Entry::registerNamespace()\Zend_Gdata_YouTube_MediaEntry::registerNamespace()\Zend_Gdata_YouTube_VideoEntry::registerNamespace()Takes a prefix and a full namespace URI and adds them to the list of registered namespaces for use by $this->lookupNamespace().
WARNING: Currently, registering a namespace will NOT invalidate any memoized data stored in $_namespaceLookupCache. Under normal use, this behavior is acceptable. If you are adding contradictory data to the namespace lookup table, you must call flushNamespaceLookupCache().
Name | Type | Description |
---|---|---|
$prefix | string | The namespace prefix |
$namespaceUri | string | The full namespace URI |
$majorVersion | integer | The major protocol version in effect. Defaults to '1'. |
$minorVersion | integer | The minor protocol version in effect. Defaults to null (use latest). |


reload(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : mixed
Reload the current entry.
Inherited from: \Zend_Gdata_App_Entry::reload()\Zend_Gdata_App_MediaEntry::reload()\Zend_Gdata_Entry::reload()\Zend_Gdata_Media_Entry::reload()\Zend_Gdata_YouTube_MediaEntry::reload()\Zend_Gdata_YouTube_VideoEntry::reload()Returns a new copy of the entry as returned by the server, or null if no changes exist. This does not modify the current entry instance.
Name | Type | Description |
---|---|---|
$uri | string | null | The URI to send requests to, or null if $data contains the URI. |
$className | string | null | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. |
$extraHeaders | array | Extra headers to add to the request, as an array of string-based key/value pairs. |
Type | Description |
---|---|
mixed | A new instance of the current entry with updated data, or null if the server reports that no changes have been made. |
Exception | Description |
---|---|
\Zend_Gdata_App_Exception |


save(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : \Zend_Gdata_App_Entry
Uploads changes in this entry to the server using Zend_Gdata_App
Inherited from: \Zend_Gdata_App_Entry::save()\Zend_Gdata_App_MediaEntry::save()\Zend_Gdata_Entry::save()\Zend_Gdata_Media_Entry::save()\Zend_Gdata_YouTube_MediaEntry::save()\Zend_Gdata_YouTube_VideoEntry::save()Name | Type | Description |
---|---|---|
$uri | string | null | The URI to send requests to, or null if $data contains the URI. |
$className | string | null | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. |
$extraHeaders | array | Extra headers to add to the request, as an array of string-based key/value pairs. |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | The updated entry. |
Exception | Description |
---|---|
\Zend_Gdata_App_Exception |


saveXML() : string
Converts this element and all children into XML text using getDOM()
Inherited from: \Zend_Gdata_App_Base::saveXML()\Zend_Gdata_App_FeedEntryParent::saveXML()\Zend_Gdata_App_Entry::saveXML()\Zend_Gdata_App_MediaEntry::saveXML()\Zend_Gdata_Entry::saveXML()\Zend_Gdata_Media_Entry::saveXML()\Zend_Gdata_YouTube_MediaEntry::saveXML()\Zend_Gdata_YouTube_VideoEntry::saveXML()Type | Description |
---|---|
string | XML content |


setAuthor(array $value) : \Zend_Gdata_App_FeedEntryParent
Sets the list of the authors of this feed/entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setAuthor()\Zend_Gdata_App_Entry::setAuthor()\Zend_Gdata_App_MediaEntry::setAuthor()\Zend_Gdata_Entry::setAuthor()\Zend_Gdata_Media_Entry::setAuthor()\Zend_Gdata_YouTube_MediaEntry::setAuthor()\Zend_Gdata_YouTube_VideoEntry::setAuthor()In an atom feed, each author is represented by an atom:author element
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setCategory(array $value) : \Zend_Gdata_App_FeedEntryParent
Sets the array of categories that classify this feed/entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setCategory()\Zend_Gdata_App_Entry::setCategory()\Zend_Gdata_App_MediaEntry::setCategory()\Zend_Gdata_Entry::setCategory()\Zend_Gdata_Media_Entry::setCategory()\Zend_Gdata_YouTube_MediaEntry::setCategory()\Zend_Gdata_YouTube_VideoEntry::setCategory()Each category is represented in an atom feed by an atom:category element.
Name | Type | Description |
---|---|---|
$value | array | Array of Zend_Gdata_App_Extension_Category |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setComments(\Zend_Gdata_Extension_Comments $comments = null) : \Zend_Gdata_YouTube_VideoEntry
Sets the comments relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setComments()Name | Type | Description |
---|---|---|
$comments | \Zend_Gdata_Extension_Comments | The comments relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setContent(\Zend_Gdata_App_Extension_Content $value) : \Zend_Gdata_App_Entry
Sets the value of the atom:content element
Inherited from: \Zend_Gdata_App_Entry::setContent()\Zend_Gdata_App_MediaEntry::setContent()\Zend_Gdata_Entry::setContent()\Zend_Gdata_Media_Entry::setContent()\Zend_Gdata_YouTube_MediaEntry::setContent()\Zend_Gdata_YouTube_VideoEntry::setContent()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Content |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setContributor(array $value) : \Zend_Gdata_App_FeedEntryParent
Sets the array of contributors to this feed/entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setContributor()\Zend_Gdata_App_Entry::setContributor()\Zend_Gdata_App_MediaEntry::setContributor()\Zend_Gdata_Entry::setContributor()\Zend_Gdata_Media_Entry::setContributor()\Zend_Gdata_YouTube_MediaEntry::setContributor()\Zend_Gdata_YouTube_VideoEntry::setContributor()Each contributor is represented in an atom feed by an atom:contributor XML element
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setControl(\Zend_Gdata_App_Extension_Control $value) : \Zend_Gdata_App_Entry
Sets the value of the app:control element
Inherited from: \Zend_Gdata_App_Entry::setControl()\Zend_Gdata_App_MediaEntry::setControl()\Zend_Gdata_Entry::setControl()\Zend_Gdata_Media_Entry::setControl()\Zend_Gdata_YouTube_MediaEntry::setControl()\Zend_Gdata_YouTube_VideoEntry::setControl()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Control |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setEtag(string | null $value) : \Zend_Gdata_App_Entry
Set the Etag for the current entry to $value.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setEtag()\Zend_Gdata_App_Entry::setEtag()\Zend_Gdata_App_MediaEntry::setEtag()\Zend_Gdata_Entry::setEtag()\Zend_Gdata_Media_Entry::setEtag()\Zend_Gdata_YouTube_MediaEntry::setEtag()\Zend_Gdata_YouTube_VideoEntry::setEtag()Setting $value to null unsets the Etag.
Name | Type | Description |
---|---|---|
$value | string | null |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setExtensionAttributes(array $value) : \Zend_Gdata_App_Base
Sets an array of all extension attributes not transformed into data model properties during parsing of the XML.
Inherited from: \Zend_Gdata_App_Base::setExtensionAttributes()\Zend_Gdata_App_FeedEntryParent::setExtensionAttributes()\Zend_Gdata_App_Entry::setExtensionAttributes()\Zend_Gdata_App_MediaEntry::setExtensionAttributes()\Zend_Gdata_Entry::setExtensionAttributes()\Zend_Gdata_Media_Entry::setExtensionAttributes()\Zend_Gdata_YouTube_MediaEntry::setExtensionAttributes()\Zend_Gdata_YouTube_VideoEntry::setExtensionAttributes()Each element of the array is a hashed array of the format: array('namespaceUri' => string, 'name' => string, 'value' => string); This can be used to add arbitrary attributes to any data model element
Name | Type | Description |
---|---|---|
$value | array | All extension attributes |
Type | Description |
---|---|
\Zend_Gdata_App_Base | Returns an object of the same type as 'this' to provide a fluent interface. |


setExtensionElements(array $value) : \Zend_Gdata_App_Base
Sets an array of all elements not matched to data model classes during the parsing of the XML.
Inherited from: \Zend_Gdata_App_Base::setExtensionElements()\Zend_Gdata_App_FeedEntryParent::setExtensionElements()\Zend_Gdata_App_Entry::setExtensionElements()\Zend_Gdata_App_MediaEntry::setExtensionElements()\Zend_Gdata_Entry::setExtensionElements()\Zend_Gdata_Media_Entry::setExtensionElements()\Zend_Gdata_YouTube_MediaEntry::setExtensionElements()\Zend_Gdata_YouTube_VideoEntry::setExtensionElements()This method can be used to add arbitrary child XML elements to any data model class.
Name | Type | Description |
---|---|---|
$value | array | All extension elements |
Type | Description |
---|---|
\Zend_Gdata_App_Base | Returns an object of the same type as 'this' to provide a fluent interface. |


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


setHttpClient(\Zend_Http_Client $httpClient) : \Zend_Gdata_App_FeedEntryParent
Set the HTTP client instance
Inherited from: \Zend_Gdata_App_FeedEntryParent::setHttpClient()\Zend_Gdata_App_Entry::setHttpClient()\Zend_Gdata_App_MediaEntry::setHttpClient()\Zend_Gdata_Entry::setHttpClient()\Zend_Gdata_Media_Entry::setHttpClient()\Zend_Gdata_YouTube_MediaEntry::setHttpClient()\Zend_Gdata_YouTube_VideoEntry::setHttpClient()Sets the HTTP client object to use for retrieving the feed.
Name | Type | Description |
---|---|---|
$httpClient | \Zend_Http_Client |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setId(\Zend_Gdata_App_Extension_Id $value) : \Zend_Gdata_App_FeedEntryParent
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Id |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setLink(array $value) : \Zend_Gdata_App_FeedEntryParent
Name | Type | Description |
---|---|---|
$value | array | The array of Zend_Gdata_App_Extension_Link elements |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setLocation(\Zend_Gdata_YouTube_Extension_Location $location = null) : \Zend_Gdata_YouTube_VideoEntry
Sets the location information.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setLocation()Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_YouTube_Extension_Location | Where the video was recorded |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setMajorProtocolVersion(\(int | \NULL) $value) : void
Set the major protocol version that should be used.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()\Zend_Gdata_App_Entry::setMajorProtocolVersion()\Zend_Gdata_App_MediaEntry::setMajorProtocolVersion()\Zend_Gdata_Entry::setMajorProtocolVersion()\Zend_Gdata_Media_Entry::setMajorProtocolVersion()\Zend_Gdata_YouTube_MediaEntry::setMajorProtocolVersion()\Zend_Gdata_YouTube_VideoEntry::setMajorProtocolVersion()Values < 1 (excluding NULL) will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.
Name | Type | Description |
---|---|---|
$value | \(int | \NULL) | The major protocol version to use. |
Exception | Description |
---|---|
\Zend_Gdata_App_InvalidArgumentException |
- See
- \global\_majorProtocolVersion


setMediaGroup(\Zend_Gdata_Media_Extension_MediaGroup $mediaGroup) : \Zend_Gdata_Media_Entry
Sets the entry's mediaGroup object.
Inherited from: \Zend_Gdata_Media_Entry::setMediaGroup()\Zend_Gdata_YouTube_MediaEntry::setMediaGroup()\Zend_Gdata_YouTube_VideoEntry::setMediaGroup()Name | Type | Description |
---|---|---|
$mediaGroup | \Zend_Gdata_Media_Extension_MediaGroup |
Type | Description |
---|---|
\Zend_Gdata_Media_Entry | Provides a fluent interface |


setMediaSource(\Zend_Gdata_App_MediaSource $value) : \Zend_Gdata_App_MediaEntry
Set the MediaSource object (file) for this MediaEntry
Inherited from: \Zend_Gdata_App_MediaEntry::setMediaSource()\Zend_Gdata_Entry::setMediaSource()\Zend_Gdata_Media_Entry::setMediaSource()\Zend_Gdata_YouTube_MediaEntry::setMediaSource()\Zend_Gdata_YouTube_VideoEntry::setMediaSource()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_MediaSource | The attached MediaSource/file |
Type | Description |
---|---|
\Zend_Gdata_App_MediaEntry | Provides a fluent interface |


setMinorProtocolVersion(\(int | \NULL) $value) : void
Set the minor protocol version that should be used.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()\Zend_Gdata_App_Entry::setMinorProtocolVersion()\Zend_Gdata_App_MediaEntry::setMinorProtocolVersion()\Zend_Gdata_Entry::setMinorProtocolVersion()\Zend_Gdata_Media_Entry::setMinorProtocolVersion()\Zend_Gdata_YouTube_MediaEntry::setMinorProtocolVersion()\Zend_Gdata_YouTube_VideoEntry::setMinorProtocolVersion()If set to NULL, no minor protocol version will be sent to the server. Values < 0 will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.
Name | Type | Description |
---|---|---|
$value | \(int | \NULL) | The minor protocol version to use. |
Exception | Description |
---|---|
\Zend_Gdata_App_InvalidArgumentException |
- See
- \global\_minorProtocolVersion


setNoEmbed(\Zend_Gdata_YouTube_Extension_NoEmbed $noEmbed = null) : \Zend_Gdata_YouTube_VideoEntry
If an instance of Zend_Gdata_YouTube_Extension_NoEmbed is passed in, the video cannot be embedded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setNoEmbed()Otherwise, if null is passsed in, the video is able to be embedded.
Name | Type | Description |
---|---|---|
$noEmbed | \Zend_Gdata_YouTube_Extension_NoEmbed | Whether or not the video can be embedded. |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setPosition(\Zend_Gdata_YouTube_Extension_Position $position = null) : \Zend_Gdata_YouTube_PlaylistVideoEntry
Sets the array of embedded feeds related to the video
Name | Type | Description |
---|---|---|
$position | \Zend_Gdata_YouTube_Extension_Position | The position of the entry in the feed, as specified by the user. |
Type | Description |
---|---|
\Zend_Gdata_YouTube_PlaylistVideoEntry | Provides a fluent interface |


setPublished(\Zend_Gdata_App_Extension_Published $value) : \Zend_Gdata_App_Entry
Sets the value of the atom:published element This represents the publishing date for an entry
Inherited from: \Zend_Gdata_App_Entry::setPublished()\Zend_Gdata_App_MediaEntry::setPublished()\Zend_Gdata_Entry::setPublished()\Zend_Gdata_Media_Entry::setPublished()\Zend_Gdata_YouTube_MediaEntry::setPublished()\Zend_Gdata_YouTube_VideoEntry::setPublished()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Published |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setRacy(\Zend_Gdata_YouTube_Extension_Racy $racy = null) : \Zend_Gdata_YouTube_VideoEntry
Specifies that the video has racy content.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setRacy()Name | Type | Description |
---|---|---|
$racy | \Zend_Gdata_YouTube_Extension_Racy | The racy flag object |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |


setRating(\Zend_Gdata_Extension_Rating $rating = null) : \Zend_Gdata_YouTube_VideoEntry
Sets the rating relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setRating()Name | Type | Description |
---|---|---|
$rating | \Zend_Gdata_Extension_Rating | The rating relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setRecorded(\Zend_Gdata_YouTube_Extension_Recorded $recorded = null) : \Zend_Gdata_YouTube_VideoEntry
Sets when the video was recorded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setRecorded()Name | Type | Description |
---|---|---|
$recorded | \Zend_Gdata_YouTube_Extension_Recorded | When the video was recorded |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setRights(\Zend_Gdata_App_Extension_Rights $value) : \Zend_Gdata_App_FeedEntryParent
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Rights |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setService(\Zend_Gdata_App $instance) : \Zend_Gdata_App_FeedEntryParent
Set the active service instance for this object.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setService()\Zend_Gdata_App_Entry::setService()\Zend_Gdata_App_MediaEntry::setService()\Zend_Gdata_Entry::setService()\Zend_Gdata_Media_Entry::setService()\Zend_Gdata_YouTube_MediaEntry::setService()\Zend_Gdata_YouTube_VideoEntry::setService()This will be used to perform network requests, such as when calling save() and delete().
Name | Type | Description |
---|---|---|
$instance | \Zend_Gdata_App | The new service instance. |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface. |


setSource(\Zend_Gdata_App_Extension_Source $value) : \Zend_Gdata_App_Entry
Sets the value of the atom:source element
Inherited from: \Zend_Gdata_App_Entry::setSource()\Zend_Gdata_App_MediaEntry::setSource()\Zend_Gdata_Entry::setSource()\Zend_Gdata_Media_Entry::setSource()\Zend_Gdata_YouTube_MediaEntry::setSource()\Zend_Gdata_YouTube_VideoEntry::setSource()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Source |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setStatistics(\Zend_Gdata_YouTube_Extension_Statistics $statistics = null) : \Zend_Gdata_YouTube_VideoEntry
Sets the statistics relating to the video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setStatistics()Name | Type | Description |
---|---|---|
$statistics | \Zend_Gdata_YouTube_Extension_Statistics | The statistics relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setSummary(\Zend_Gdata_App_Extension_Summary $value) : \Zend_Gdata_App_Entry
Sets the value of the atom:summary element This represents a textual summary of this entry's content
Inherited from: \Zend_Gdata_App_Entry::setSummary()\Zend_Gdata_App_MediaEntry::setSummary()\Zend_Gdata_Entry::setSummary()\Zend_Gdata_Media_Entry::setSummary()\Zend_Gdata_YouTube_MediaEntry::setSummary()\Zend_Gdata_YouTube_VideoEntry::setSummary()Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Summary |
Type | Description |
---|---|
\Zend_Gdata_App_Entry | Provides a fluent interface |


setText(string $value) : \Zend_Gdata_App_Base
Sets the child text node of this element This represents any raw text contained within the XML element
Inherited from: \Zend_Gdata_App_Base::setText()\Zend_Gdata_App_FeedEntryParent::setText()\Zend_Gdata_App_Entry::setText()\Zend_Gdata_App_MediaEntry::setText()\Zend_Gdata_Entry::setText()\Zend_Gdata_Media_Entry::setText()\Zend_Gdata_YouTube_MediaEntry::setText()\Zend_Gdata_YouTube_VideoEntry::setText()Name | Type | Description |
---|---|---|
$value | string | Child text node |
Type | Description |
---|---|
\Zend_Gdata_App_Base | Returns an object of the same type as 'this' to provide a fluent interface. |


setTitle(\Zend_Gdata_App_Extension_Title $value) : \Zend_Gdata_App_FeedEntryParent
Returns the title of this feed or entry.
Inherited from: \Zend_Gdata_App_FeedEntryParent::setTitle()\Zend_Gdata_App_Entry::setTitle()\Zend_Gdata_App_MediaEntry::setTitle()\Zend_Gdata_Entry::setTitle()\Zend_Gdata_Media_Entry::setTitle()\Zend_Gdata_YouTube_MediaEntry::setTitle()\Zend_Gdata_YouTube_VideoEntry::setTitle()The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Title |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setUpdated(\Zend_Gdata_App_Extension_Updated $value) : \Zend_Gdata_App_FeedEntryParent
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_App_Extension_Updated |
Type | Description |
---|---|
\Zend_Gdata_App_FeedEntryParent | Provides a fluent interface |


setVideoCategory(string $category) : \Zend_Gdata_YouTube_VideoEntry
Sets the category of the video as a string.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoCategory()Name | Type | Description |
---|---|---|
$category | string | Categories for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoDescription(string $description) : \Zend_Gdata_YouTube_VideoEntry
Sets the description of the video as a string.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoDescription()Name | Type | Description |
---|---|---|
$description | string | Description for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoDeveloperTags(array $developerTags) : \Zend_Gdata_YouTube_VideoEntry
Set multiple developer tags for the video as strings.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoDeveloperTags()Name | Type | Description |
---|---|---|
$developerTags | array | Array of developerTag for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoPrivate() : \Zend_Gdata_YouTube_VideoEntry
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoPublic() : \Zend_Gdata_YouTube_VideoEntry
Sets a private video to be public.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoPublic()Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoRating(integer $ratingValue) : \Zend_Gdata_YouTube_VideoEntry
Helper function to conveniently set a video's rating.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoRating()Name | Type | Description |
---|---|---|
$ratingValue | integer | A number representing the rating. Must be between 1 and 5 inclusive. |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface. |
Exception | Description |
---|---|
\Zend_Gdata_Exception |


setVideoRecorded(string $recorded) : void
Sets the date that the video was recorded.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoRecorded()Name | Type | Description |
---|---|---|
$recorded | string | The date that the video was recorded, in the format of '2001-06-19' |


setVideoTags(mixed $tags) : \Zend_Gdata_YouTube_VideoEntry
Sets the keyword tags for a video.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoTags()Name | Type | Description |
---|---|---|
$tags | mixed | Either a comma-separated string or an array of tags for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setVideoTitle(string $title) : \Zend_Gdata_YouTube_VideoEntry
Sets the title of the video as a string.
Inherited from: \Zend_Gdata_YouTube_VideoEntry::setVideoTitle()Name | Type | Description |
---|---|---|
$title | string | Title for the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


setWhere(\Zend_Gdata_Geo_Extension_GeoRssWhere $value) : \Zend_Gdata_YouTube_VideoEntry
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_Geo_Extension_GeoRssWhere | The georss:where class value |
Type | Description |
---|---|
\Zend_Gdata_YouTube_VideoEntry | Provides a fluent interface |


takeAttributeFromDOM(\DOMNode $attribute) : void
Given a DOMNode representing an attribute, tries to map the data into instance members.
Inherited from: \Zend_Gdata_Entry::takeAttributeFromDOM()\Zend_Gdata_Media_Entry::takeAttributeFromDOM()\Zend_Gdata_YouTube_MediaEntry::takeAttributeFromDOM()\Zend_Gdata_YouTube_VideoEntry::takeAttributeFromDOM()If no mapping is defined, the name and value are stored in an array.
Name | Type | Description |
---|---|---|
$attribute | \DOMNode | The DOMNode attribute needed to be handled |


takeChildFromDOM(\DOMNode $child) : void
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
If no mapping is defined, Extension_Element objects are created and stored in an array.
Name | Type | Description |
---|---|---|
$child | \DOMNode | The DOMNode to process |


transferFromDOM(\DOMNode $node) : void
Transfers each child and attribute into member variables.
Inherited from: \Zend_Gdata_App_Base::transferFromDOM()\Zend_Gdata_App_FeedEntryParent::transferFromDOM()\Zend_Gdata_App_Entry::transferFromDOM()\Zend_Gdata_App_MediaEntry::transferFromDOM()\Zend_Gdata_Entry::transferFromDOM()\Zend_Gdata_Media_Entry::transferFromDOM()\Zend_Gdata_YouTube_MediaEntry::transferFromDOM()\Zend_Gdata_YouTube_VideoEntry::transferFromDOM()This is called when XML is received over the wire and the data model needs to be built to represent this XML.
Name | Type | Description |
---|---|---|
$node | \DOMNode | The DOMNode that represents this object's data |


transferFromXML(string $xml) : void
Parses the provided XML text and generates data model classes for each know element by turning the XML text into a DOM tree and calling transferFromDOM($element).
Inherited from: \Zend_Gdata_App_Base::transferFromXML()\Zend_Gdata_App_FeedEntryParent::transferFromXML()\Zend_Gdata_App_Entry::transferFromXML()\Zend_Gdata_App_MediaEntry::transferFromXML()\Zend_Gdata_Entry::transferFromXML()\Zend_Gdata_Media_Entry::transferFromXML()\Zend_Gdata_YouTube_MediaEntry::transferFromXML()\Zend_Gdata_YouTube_VideoEntry::transferFromXML()The first data model element with the same name as $this->_rootElement is used and the child elements are recursively parsed.
Name | Type | Description |
---|---|---|
$xml | string | The XML text to parse |