Represents the YouTube video playlist flavor of an Atom entry
category | Zend |
---|---|
package | Zend_Gdata |
subpackage | YouTube |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Gdata_YouTube_VideoEntry |
__construct(\DOMElement $element = null
)
inherited_from | \Zend_Gdata_YouTube_VideoEntry::__construct() |
---|
\DOMElement
(optional) DOMElement from which this object should be constructed.
__construct()
__get(string $name)
TODO Remove ability to bypass getFoo() methods??
string
The variable name sought
__isset(string $name)
string
__set(string $name, $val)
Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
string
__toString() : string
string
The text representation of this object__unset(string $name)
string
addVideoDeveloperTag(string $developerTag) : \Zend_Gdata_YouTube_VideoEntry
string
DeveloperTag for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacedelete() : void
\Zend_Gdata_App_Exception |
---|
encode() : string
Can be overridden by children to provide more complex representations of entries.
string
Encoded string contentensureMediaGroupIsNotNull() : void
If the mediaGroup does not exist, then set it.
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
This link is in the atom feed/entry as an atom:link with a rel attribute value of 'self'.
\Zend_Gdata_App_Extension_Link
The link, or null if not foundgetAuthor() : \Zend_Gdata_App_Extension_Author
\Zend_Gdata_App_Extension_Author
getCategory() : array
array
Array of Zend_Gdata_App_Extension_CategorygetComments() : \Zend_Gdata_Extension_Comments
\Zend_Gdata_Extension_Comments
The comments relating to the videogetContent() : \Zend_Gdata_App_Extension_Content
\Zend_Gdata_App_Extension_Content
getContributor() : array
array
An array of Zend_Gdata_App_Extension_ContributorgetControl() : \Zend_Gdata_App_Extension_Control
\Zend_Gdata_App_Extension_Control
getDOM(\DOMDocument $doc= null
, $majorVersion= 1
, $minorVersion= null
) : \DOMElement
inherited_from | \Zend_Gdata_YouTube_VideoEntry::getDOM() |
---|
\DOMDocument
The DOMDocument used to construct DOMElements
\DOMElement
The DOMElement representing this element and all
child properties.getDOM(\DOMDocument $doc= null
, $majorVersion= 1
, $minorVersion= null
) : \DOMElement
\DOMDocument
The DOMDocument used to construct DOMElements
\DOMElement
The DOMElement representing this element and all
child properties.getEditLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
The link, or null if not foundgetEtag() : string | null
string
null
getExtensionAttributes() : array
array
All extension attributesgetExtensionElements() : array
array
All elements not matched to data model classes during parsinggetFeedLink(string $rel = null
) : mixed
see |
---|
string
(optional) The rel value of the link to be found. If null, the array of links is returned.
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.getFlashPlayerUrl() : string | null
string
null
The URL of the flash player SWFgetHttpClient() : \Zend_Http_Client_Abstract
deprecated | Deprecated as of Zend Framework 1.7. Use getService() instead. |
---|
\Zend_Http_Client_Abstract
getId() : \Zend_Gdata_App_Extension_Id
\Zend_Gdata_App_Extension_Id
getLicenseLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
getLink(string $rel = null
) : mixed
string
The rel value of the link to be found. If null, the array of Zend_Gdata_App_Extension_link elements is returned
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 functiongetLocation() : \Zend_Gdata_YouTube_Extension_Location | null
\Zend_Gdata_YouTube_Extension_Location
null
getMajorProtocolVersion() : \(int | \NULL)
getMediaGroup() : \Zend_Gdata_Media_Extension_MediaGroup
\Zend_Gdata_Media_Extension_MediaGroup
getMediaSource() : \Zend_Gdata_App_MediaSource
\Zend_Gdata_App_MediaSource
The attached MediaSource/filegetMinorProtocolVersion() : \(int | \NULL)
getNextLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
The link, or null if not foundgetNoEmbed() : \Zend_Gdata_YouTube_Extension_NoEmbed | null
\Zend_Gdata_YouTube_Extension_NoEmbed
null
Whether or not the video can be embeddedgetPosition() : \Zend_Gdata_YouTube_Extension_Position
\Zend_Gdata_YouTube_Extension_Position
The positiongetPreviousLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
The link, or null if not foundgetPublished() : \Zend_Gdata_App_Extension_Published
\Zend_Gdata_App_Extension_Published
getRacy() : \Zend_Gdata_YouTube_Extension_Racy | null
\Zend_Gdata_App_VersionException |
---|
\Zend_Gdata_YouTube_Extension_Racy
null
The racy flag objectgetRating() : \Zend_Gdata_Extension_Rating
\Zend_Gdata_Extension_Rating
The rating relating to the videogetRecorded() : \Zend_Gdata_YouTube_Extension_Recorded | null
\Zend_Gdata_YouTube_Extension_Recorded
null
getRights() : \Zend_Gdata_AppExtension_Rights
\Zend_Gdata_AppExtension_Rights
getSelfLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
The link, or null if not foundgetService() : \Zend_Gdata_App | null
\Zend_Gdata_App
null
The current service instance, or null if
not set.getSource() : \Zend_Gdata_App_Extension_Source
\Zend_Gdata_App_Extension_Source
getStatistics() : \Zend_Gdata_YouTube_Extension_Statistics
\Zend_Gdata_YouTube_Extension_Statistics
The statistics relating to the videogetSummary() : \Zend_Gdata_App_Extension_Summary
\Zend_Gdata_App_Extension_Summary
getText($trim = true
) : string
string
Child text nodegetTitle() : \Zend_Gdata_App_Extension_Title
\Zend_Gdata_App_Extension_Title
getTitleValue() : string
The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry
string
getUpdated() : \Zend_Gdata_App_Extension_Updated
\Zend_Gdata_App_Extension_Updated
getVideoCategory() : string | null
string
null
The category of this videogetVideoCommentFeedUrl() : string | null
string
null
The URL if found, or null if not found.getVideoComplaintsLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
getVideoDescription() : string | null
string
null
The description of the videogetVideoDeveloperTags() : array | null
If no tags are set, null is returned.
array
null
The developer tags for this video or null if none were set.getVideoDuration() : string | null
string
null
The duration of the video, in seconds.getVideoGeoLocation() : array | null
null is returned if the location is not available.
array
null
The location specified for this videogetVideoId() : string
string
The video IDgetVideoRatingInfo() : array | null
null is returned if the rating information is not available.
array
null
The rating information for this videogetVideoRatingsLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
getVideoRecorded() : string | null
string
null
The date that the video was recordedgetVideoResponsesLink() : \Zend_Gdata_App_Extension_Link
\Zend_Gdata_App_Extension_Link
getVideoState() : \Zend_Gdata_YouTube_Extension_State | null
\Zend_Gdata_YouTube_Extension_State
null
The publishing state of this videogetVideoTags() : array
array
An array of the tags assigned to this videogetVideoThumbnails() : array
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.
array
An array of video thumbnails.getVideoTitle() : string | null
string
null
The title of the videogetVideoViewCount() : string | null
string
null
The number of views for this videogetVideoWatchPageUrl() : string | null
string
null
The URL of the YouTube video watch pagegetWhere() : \Zend_Gdata_Geo_Extension_GeoRssWhere
\Zend_Gdata_Geo_Extension_GeoRssWhere
getXML() : string
string
XML contentisVideoEmbeddable() : boolean
boolean
Returns true if the video is embeddable.isVideoPrivate() : boolean
boolean
Return true if video is privatelookupNamespace(string $prefix, integer $majorVersion= 1
, integer $minorVersion= null
) : string
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.
string
The namespace prefix to lookup.
integer
The major protocol version in effect. Defaults to '1'.
integer
The minor protocol version in effect. Defaults to null (use latest).
string
registerAllNamespaces(array $namespaceArray) : void
Takes an array in the format of: namespace prefix, namespace URI, major protocol version, minor protocol version and adds them with calls to ->registerNamespace()
array
An array of namespaces.
registerNamespace(string $prefix, string $namespaceUri, integer $majorVersion= 1
, integer $minorVersion= 0
) : void
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().
string
The namespace prefix
string
The full namespace URI
integer
The major protocol version in effect. Defaults to '1'.
integer
The minor protocol version in effect. Defaults to null (use latest).
reload($uri= null
, $className= null
, array $extraHeaders= array()
) : mixed
array
Extra headers to add to the request, as an array of string-based key/value pairs.
\Zend_Gdata_App_Exception |
---|
mixed
A new instance of the current entry with updated data, or
null if the server reports that no changes have been made.save(string|null $uri= null
, string|null $className= null
, array $extraHeaders= array()
) : \Zend_Gdata_App_Entry
string
null
The URI to send requests to, or null if $data contains the URI.
string
null
The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used.
array
Extra headers to add to the request, as an array of string-based key/value pairs.
\Zend_Gdata_App_Exception |
---|
\Zend_Gdata_App_Entry
The updated entry.saveXML() : string
string
XML contentsetAuthor(array $value) : \Zend_Gdata_App_FeedEntryParent
array
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetCategory(array $value) : \Zend_Gdata_App_FeedEntryParent
array
Array of Zend_Gdata_App_Extension_Category
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetComments(\Zend_Gdata_Extension_Comments $comments = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_Extension_Comments
The comments relating to the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetContent(\Zend_Gdata_App_Extension_Content $value) : \Zend_Gdata_App_Entry
\Zend_Gdata_App_Extension_Content
\Zend_Gdata_App_Entry
Provides a fluent interfacesetContributor(array $value) : \Zend_Gdata_App_FeedEntryParent
array
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetControl(\Zend_Gdata_App_Extension_Control $value) : \Zend_Gdata_App_Entry
\Zend_Gdata_App_Extension_Control
\Zend_Gdata_App_Entry
Provides a fluent interfacesetEtag(string|null $value) : \Zend_Gdata_App_Entry
string
null
\Zend_Gdata_App_Entry
Provides a fluent interfacesetExtensionAttributes(array $value) : \Zend_Gdata_App_Base
array
All extension attributes
\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
array
All extension elements
\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
array
The array of embedded feeds relating to the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetHttpClient(\Zend_Http_Client $httpClient) : \Zend_Gdata_App_FeedEntryParent
Sets the HTTP client object to use for retrieving the feed.
deprecated | Deprecated as of Zend Framework 1.7. Use setService() instead. |
---|
\Zend_Http_Client
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetId(\Zend_Gdata_App_Extension_Id $value) : \Zend_Gdata_App_FeedEntryParent
\Zend_Gdata_App_Extension_Id
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetLink(array $value) : \Zend_Gdata_App_FeedEntryParent
array
The array of Zend_Gdata_App_Extension_Link elements
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetLocation(\Zend_Gdata_YouTube_Extension_Location $location = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_Extension_Location
Where the video was recorded
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetMajorProtocolVersion(\(int|\NULL) $value)
setMediaGroup(\Zend_Gdata_Media_Extension_MediaGroup $mediaGroup) : \Zend_Gdata_Media_Entry
\Zend_Gdata_Media_Extension_MediaGroup
\Zend_Gdata_Media_Entry
Provides a fluent interfacesetMediaSource(\Zend_Gdata_App_MediaSource $value) : \Zend_Gdata_App_MediaEntry
\Zend_Gdata_App_MediaSource
The attached MediaSource/file
\Zend_Gdata_App_MediaEntry
Provides a fluent interfacesetMinorProtocolVersion(\(int|\NULL) $value)
setNoEmbed(\Zend_Gdata_YouTube_Extension_NoEmbed $noEmbed = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_Extension_NoEmbed
Whether or not the video can be embedded.
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetPosition(\Zend_Gdata_YouTube_Extension_Position $position = null
) : \Zend_Gdata_YouTube_PlaylistVideoEntry
\Zend_Gdata_YouTube_Extension_Position
The position of the entry in the feed, as specified by the user.
\Zend_Gdata_YouTube_PlaylistVideoEntry
Provides a fluent interfacesetPublished(\Zend_Gdata_App_Extension_Published $value) : \Zend_Gdata_App_Entry
\Zend_Gdata_App_Extension_Published
\Zend_Gdata_App_Entry
Provides a fluent interfacesetRacy(\Zend_Gdata_YouTube_Extension_Racy $racy = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_Extension_Racy
The racy flag object
\Zend_Gdata_App_VersionException |
---|
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetRating(\Zend_Gdata_Extension_Rating $rating = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_Extension_Rating
The rating relating to the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetRecorded(\Zend_Gdata_YouTube_Extension_Recorded $recorded = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_Extension_Recorded
When the video was recorded
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetRights(\Zend_Gdata_App_Extension_Rights $value) : \Zend_Gdata_App_FeedEntryParent
\Zend_Gdata_App_Extension_Rights
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetService(\Zend_Gdata_App $instance) : \Zend_Gdata_App_FeedEntryParent
\Zend_Gdata_App
The new service instance.
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interface.setSource(\Zend_Gdata_App_Extension_Source $value) : \Zend_Gdata_App_Entry
\Zend_Gdata_App_Extension_Source
\Zend_Gdata_App_Entry
Provides a fluent interfacesetStatistics(\Zend_Gdata_YouTube_Extension_Statistics $statistics = null
) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_Extension_Statistics
The statistics relating to the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetSummary(\Zend_Gdata_App_Extension_Summary $value) : \Zend_Gdata_App_Entry
\Zend_Gdata_App_Extension_Summary
\Zend_Gdata_App_Entry
Provides a fluent interfacesetText(string $value) : \Zend_Gdata_App_Base
string
Child text node
\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
\Zend_Gdata_App_Extension_Title
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetUpdated(\Zend_Gdata_App_Extension_Updated $value) : \Zend_Gdata_App_FeedEntryParent
\Zend_Gdata_App_Extension_Updated
\Zend_Gdata_App_FeedEntryParent
Provides a fluent interfacesetVideoCategory(string $category) : \Zend_Gdata_YouTube_VideoEntry
string
Categories for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoDescription(string $description) : \Zend_Gdata_YouTube_VideoEntry
string
Description for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoDeveloperTags(array $developerTags) : \Zend_Gdata_YouTube_VideoEntry
array
Array of developerTag for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoPrivate() : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoPublic() : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoRating(integer $ratingValue) : \Zend_Gdata_YouTube_VideoEntry
integer
A number representing the rating. Must be between 1 and 5 inclusive.
\Zend_Gdata_Exception |
---|
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interface.setVideoRecorded(string $recorded)
string
The date that the video was recorded, in the format of '2001-06-19'
setVideoTags(mixed $tags) : \Zend_Gdata_YouTube_VideoEntry
mixed
Either a comma-separated string or an array of tags for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetVideoTitle(string $title) : \Zend_Gdata_YouTube_VideoEntry
string
Title for the video
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacesetWhere(\Zend_Gdata_Geo_Extension_GeoRssWhere $value) : \Zend_Gdata_YouTube_VideoEntry
\Zend_Gdata_Geo_Extension_GeoRssWhere
The georss:where class value
\Zend_Gdata_YouTube_VideoEntry
Provides a fluent interfacetransferFromDOM(\DOMNode $node)
This is called when XML is received over the wire and the data model needs to be built to represent this XML.
\DOMNode
The DOMNode that represents this object's data
transferFromXML(string $xml)
string
The XML text to parse
takeAttributeFromDOM(\DOMNode $attribute)
\DOMNode
The DOMNode attribute needed to be handled
takeChildFromDOM(\DOMNode $child)
inherited_from | \Zend_Gdata_YouTube_VideoEntry::takeChildFromDOM() |
---|
\DOMNode
The DOMNode to process
takeChildFromDOM(\DOMNode $child)
\DOMNode
The DOMNode needed to be handled
$_category
array()
$_content : \Zend_Gdata_App_Extension_Content
null
$_contributor
array()
$_control : \Zend_Gdata_App_Extension_Control
null
$_edited : \Zend_Gdata_App_Extension_Edited
null
$_entryClassName
'Zend_Gdata_YouTube_PlaylistVideoEntry'
inherited_from | \Zend_Gdata_YouTube_VideoEntry::_entryClassName |
---|
$_entryClassName : string
'Zend_Gdata_App_Entry'
$_etag : string | null
NULL
$_extensionAttributes : array
array()
$_extensionElements : array
array()
$_feedLink : array
array()
$_id
null
$_link
array()
$_location : \Zend_Gdata_YouTube_Extension_Location | null
null
$_majorProtocolVersion
1
$_mediaGroup : \Zend_Gdata_Media_Extension_MediaGroup
null
$_mediaSource : \Zend_Gdata_App_MediaSource
null
$_minorProtocolVersion
null
$_namespaceLookupCache : array
array()
$_namespaces : array
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')))
$_noEmbed : \Zend_Gdata_YouTube_Extension_NoEmbed | null
null
$_position : \Zend_Gdata_YouTube_Extension_Position
null
$_private : \Zend_Gdata_YouTube_Extension_Private | null
null
$_published : \Zend_Gdata_App_Extension_Published
null
$_racy : \Zend_Gdata_YouTube_Extension_Racy | null
null
$_recorded : \Zend_Gdata_YouTube_Extension_Recorded | null
null
$_rights
null
$_rootElement : string
null
$_rootNamespace : string
'atom'
$_rootNamespaceURI : string
null
$_source : \Zend_Gdata_App_Extension_Source
null
$_statistics : \Zend_Gdata_YouTube_Extension_Statistics
null
$_summary : \Zend_Gdata_App_Extension_Summary
null
$_text : string
null
$_title
null
$_updated
null
$_where : \Zend_Gdata_Geo_Extension_GeoRssWhere
null
YOUTUBE_CATEGORY_SCHEMA = 'http://gdata.youtube.com/schemas/2007/categories.cat'
YOUTUBE_DEVELOPER_TAGS_SCHEMA = 'http://gdata.youtube.com/schemas/2007/developertags.cat'
Specifies the comments associated with a video.
Default
null