import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
* @subpackage YouTube
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CommentEntry.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: CommentEntry.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -27,7 +27,7 @@
|
||||
require_once 'Zend/Gdata/Media/Feed.php';
|
||||
|
||||
/**
|
||||
* The YouTube comments flavor of an Atom Entry
|
||||
* The YouTube comments flavor of an Atom Entry
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Gdata
|
||||
|
0
libs/Zend/Gdata/YouTube/Extension/Control.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Control.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/CountHint.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/CountHint.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Link.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Link.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaContent.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaContent.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaGroup.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaGroup.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaRating.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/MediaRating.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Private.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Private.php
Executable file → Normal file
@ -18,7 +18,7 @@
|
||||
* @subpackage YouTube
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Statistics.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Statistics.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -67,7 +67,7 @@ class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
|
||||
* who have subscribed to a particular user's YouTube channel.
|
||||
* The subscriberCount attribute is only specified when the
|
||||
* <yt:statistics> tag appears within a user profile entry.
|
||||
*
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
protected $_subscriberCount = null;
|
||||
@ -213,7 +213,7 @@ class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
|
||||
* Set the value for this element's videoWatchCount attribute.
|
||||
*
|
||||
* @param int $value The desired value for this attribute.
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* modified.
|
||||
*/
|
||||
public function setVideoWatchCount($value)
|
||||
@ -236,7 +236,7 @@ class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
|
||||
* Set the value for this element's subscriberCount attribute.
|
||||
*
|
||||
* @param int $value The desired value for this attribute.
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* modified.
|
||||
*/
|
||||
public function setSubscriberCount($value)
|
||||
@ -259,7 +259,7 @@ class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
|
||||
* Set the value for this element's lastWebAccess attribute.
|
||||
*
|
||||
* @param int $value The desired value for this attribute.
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* modified.
|
||||
*/
|
||||
public function setLastWebAccess($value)
|
||||
@ -282,7 +282,7 @@ class Zend_Gdata_YouTube_Extension_Statistics extends Zend_Gdata_Extension
|
||||
* Set the value for this element's favoriteCount attribute.
|
||||
*
|
||||
* @param int $value The desired value for this attribute.
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* @return Zend_Gdata_YouTube_Extension_Statistics The element being
|
||||
* modified.
|
||||
*/
|
||||
public function setFavoriteCount($value)
|
||||
|
0
libs/Zend/Gdata/YouTube/Extension/Token.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/Extension/Token.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/MediaEntry.php
Executable file → Normal file
0
libs/Zend/Gdata/YouTube/MediaEntry.php
Executable file → Normal file
@ -18,7 +18,7 @@
|
||||
* @subpackage YouTube
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: PlaylistListEntry.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: PlaylistListEntry.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -86,7 +86,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
* @var Zend_Gdata_YouTube_Extension_PlaylistId
|
||||
*/
|
||||
protected $_playlistId = null;
|
||||
|
||||
|
||||
/**
|
||||
* CountHint for this playlist.
|
||||
*
|
||||
@ -193,7 +193,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
/**
|
||||
* Returns the description relating to the video.
|
||||
*
|
||||
* @return Zend_Gdata_YouTube_Extension_Description The description
|
||||
* @return Zend_Gdata_YouTube_Extension_Description The description
|
||||
* relating to the video
|
||||
*/
|
||||
public function getDescription()
|
||||
@ -209,7 +209,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
* Returns the countHint relating to the playlist.
|
||||
*
|
||||
* The countHint is the number of videos on a playlist.
|
||||
*
|
||||
*
|
||||
* @throws Zend_Gdata_App_VersionException
|
||||
* @return Zend_Gdata_YouTube_Extension_CountHint The count of videos on
|
||||
* a playlist.
|
||||
@ -219,7 +219,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
if (($this->getMajorProtocolVersion() == null) ||
|
||||
($this->getMajorProtocolVersion() == 1)) {
|
||||
require_once 'Zend/Gdata/App/VersionException.php';
|
||||
throw new Zend_Gdata_App_VersionException('The yt:countHint ' .
|
||||
throw new Zend_Gdata_App_VersionException('The yt:countHint ' .
|
||||
'element is not supported in versions earlier than 2.');
|
||||
} else {
|
||||
return $this->_countHint;
|
||||
@ -228,7 +228,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
|
||||
/**
|
||||
* Returns the Id relating to the playlist.
|
||||
*
|
||||
*
|
||||
* @throws Zend_Gdata_App_VersionException
|
||||
* @return Zend_Gdata_YouTube_Extension_PlaylistId The id of this playlist.
|
||||
*/
|
||||
@ -237,7 +237,7 @@ class Zend_Gdata_YouTube_PlaylistListEntry extends Zend_Gdata_Entry
|
||||
if (($this->getMajorProtocolVersion() == null) ||
|
||||
($this->getMajorProtocolVersion() == 1)) {
|
||||
require_once 'Zend/Gdata/App/VersionException.php';
|
||||
throw new Zend_Gdata_App_VersionException('The yt:playlistId ' .
|
||||
throw new Zend_Gdata_App_VersionException('The yt:playlistId ' .
|
||||
'element is not supported in versions earlier than 2.');
|
||||
} else {
|
||||
return $this->_playlistId;
|
||||
|
@ -18,7 +18,7 @@
|
||||
* @subpackage YouTube
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SubscriptionEntry.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: SubscriptionEntry.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -86,35 +86,35 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
* @var array
|
||||
*/
|
||||
protected $_feedLink = array();
|
||||
|
||||
|
||||
/**
|
||||
* The username of this entry.
|
||||
*
|
||||
* @var Zend_Gdata_YouTube_Extension_Username
|
||||
*/
|
||||
protected $_username = null;
|
||||
|
||||
|
||||
/**
|
||||
* The playlist title for this entry.
|
||||
*
|
||||
*
|
||||
* This element is only used on subscriptions to playlists.
|
||||
*
|
||||
* @var Zend_Gdata_YouTube_Extension_PlaylistTitle
|
||||
*/
|
||||
protected $_playlistTitle = null;
|
||||
|
||||
|
||||
/**
|
||||
* The playlist id for this entry.
|
||||
*
|
||||
*
|
||||
* This element is only used on subscriptions to playlists.
|
||||
*
|
||||
* @var Zend_Gdata_YouTube_Extension_PlaylistId
|
||||
*/
|
||||
protected $_playlistId = null;
|
||||
|
||||
|
||||
/**
|
||||
* The media:thumbnail element for this entry.
|
||||
*
|
||||
*
|
||||
* This element is only used on subscriptions to playlists.
|
||||
*
|
||||
* @var Zend_Gdata_Media_Extension_MediaThumbnail
|
||||
@ -276,7 +276,7 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the playlist title for a 'playlist' subscription.
|
||||
*
|
||||
@ -299,7 +299,7 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
/**
|
||||
* Sets the yt:playlistId element for a new playlist subscription.
|
||||
*
|
||||
* @param Zend_Gdata_YouTube_Extension_PlaylistId $id The id of
|
||||
* @param Zend_Gdata_YouTube_Extension_PlaylistId $id The id of
|
||||
* the playlist to which to subscribe to.
|
||||
* @throws Zend_Gdata_App_VersionException
|
||||
* @return Zend_Gdata_YouTube_SubscriptionEntry Provides a fluent interface
|
||||
@ -363,7 +363,7 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
/**
|
||||
* Sets the yt:playlistTitle element for a new playlist subscription.
|
||||
*
|
||||
* @param Zend_Gdata_YouTube_Extension_PlaylistTitle $title The title of
|
||||
* @param Zend_Gdata_YouTube_Extension_PlaylistTitle $title The title of
|
||||
* the playlist to which to subscribe to.
|
||||
* @throws Zend_Gdata_App_VersionException
|
||||
* @return Zend_Gdata_YouTube_SubscriptionEntry Provides a fluent interface
|
||||
@ -419,7 +419,7 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
return $this->_mediaThumbnail;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the username for a channel subscription.
|
||||
*
|
||||
@ -433,7 +433,7 @@ class Zend_Gdata_YouTube_SubscriptionEntry extends Zend_Gdata_Entry
|
||||
/**
|
||||
* Sets the username for a new channel subscription.
|
||||
*
|
||||
* @param Zend_Gdata_YouTube_Extension_Username $username The username of
|
||||
* @param Zend_Gdata_YouTube_Extension_Username $username The username of
|
||||
* the channel to which to subscribe to.
|
||||
* @return Zend_Gdata_YouTube_SubscriptionEntry Provides a fluent interface
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@
|
||||
* @subpackage YouTube
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: VideoQuery.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: VideoQuery.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -177,7 +177,7 @@ class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
|
||||
public function setLocationRadius($value)
|
||||
{
|
||||
switch($value) {
|
||||
case null:
|
||||
case null:
|
||||
unset($this->_params['location-radius']);
|
||||
default:
|
||||
$this->_params['location-radius'] = $value;
|
||||
@ -335,11 +335,11 @@ class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
|
||||
*/
|
||||
public function setSafeSearch($value)
|
||||
{
|
||||
switch ($value) {
|
||||
switch ($value) {
|
||||
case 'none':
|
||||
$this->_params['safeSearch'] = 'none';
|
||||
break;
|
||||
case 'moderate':
|
||||
case 'moderate':
|
||||
$this->_params['safeSearch'] = 'moderate';
|
||||
break;
|
||||
case 'strict':
|
||||
@ -352,7 +352,7 @@ class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
|
||||
throw new Zend_Gdata_App_InvalidArgumentException(
|
||||
'The safeSearch parameter only supports the values '.
|
||||
'\'none\', \'moderate\' or \'strict\'.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -363,9 +363,9 @@ class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
|
||||
*/
|
||||
public function getSafeSearch()
|
||||
{
|
||||
if (array_key_exists('safeSearch', $this->_params)) {
|
||||
return $this->_params['safeSearch'];
|
||||
}
|
||||
if (array_key_exists('safeSearch', $this->_params)) {
|
||||
return $this->_params['safeSearch'];
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -470,7 +470,7 @@ class Zend_Gdata_YouTube_VideoQuery extends Zend_Gdata_Query
|
||||
}
|
||||
break;
|
||||
|
||||
case 'racy':
|
||||
case 'racy':
|
||||
if ($majorProtocolVersion == 2) {
|
||||
require_once 'Zend/Gdata/App/VersionException.php';
|
||||
throw new Zend_Gdata_App_VersionException("The $name " .
|
||||
|
Reference in New Issue
Block a user