Gdata/YouTube/SubscriptionEntry.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- YouTube
- Version
- $Id$
\Zend_Gdata_YouTube_SubscriptionEntry
Package: Zend_Gdata\YouTubeRepresents the YouTube video subscription flavor of an Atom entry
- Parent(s)
- \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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
$_entryClassName = 'Zend_Gdata_YouTube_SubscriptionEntry'
Default value'Zend_Gdata_YouTube_SubscriptionEntry'
Details- Type
- n/a
Methods
__construct(\DOMElement $element = null) : void
Creates a subscription entry, representing an individual subscription
in a list of subscriptions, usually associated with an individual user.
ParametersName | Type | Description |
---|
$element | \DOMElement | (optional) DOMElement from which this
object should be constructed.
|
---|
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.
ParametersName | Type | Description |
---|
$doc | \DOMDocument | The DOMDocument used to construct DOMElements |
---|
$majorVersion | | |
---|
$minorVersion | | |
---|
ReturnsType | Description |
---|
\DOMElement | The DOMElement representing this element and all
child properties. |
getFeedLink(string $rel = null) : mixed
Get the feed link property for this entry.
ParametersName | Type | Description |
---|
$rel | string | (optional) The rel value of the link to be found.
If null, the array of links is returned.
|
---|
ReturnsType | 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. |
Details- See
-
setFeedLink(array $feedLink = null) : \Zend_Gdata_YouTube_SubscriptionEntry
Sets the array of embedded feeds related to the video
ParametersName | Type | Description |
---|
$feedLink | array | The array of embedded feeds relating to the video |
---|
Returns takeChildFromDOM(\DOMNode $child) : void
Creates individual Entry objects of the appropriate type and
stores them in the $_entry array based upon DOM data.
ParametersName | Type | Description |
---|
$child | \DOMNode | The DOMNode to process |
---|