import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -87,8 +87,8 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
/**
* Data model class for a Photo Album Entry.
*
* To transfer user entries to and from the servers, including
*
* To transfer user entries to and from the servers, including
* creating new entries, refer to the service class,
* Zend_Gdata_Photos.
*
@ -96,111 +96,110 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
{
protected $_entryClassName = 'Zend_Gdata_Photos_AlbumEntry';
/**
* gphoto:id element
*
* @var Zend_Gdata_Photos_Extension_Id
*/
protected $_gphotoId = null;
/**
* gphoto:access element
*
* @var Zend_Gdata_Photos_Extension_Access
*/
protected $_gphotoAccess = null;
/**
* gphoto:location element
*
* @var Zend_Gdata_Photos_Extension_Location
*/
protected $_gphotoLocation = null;
/**
* gphoto:user element
*
* @var Zend_Gdata_Photos_Extension_User
*/
protected $_gphotoUser = null;
/**
* gphoto:nickname element
*
* @var Zend_Gdata_Photos_Extension_Nickname
*/
protected $_gphotoNickname = null;
/**
* gphoto:timestamp element
*
* @var Zend_Gdata_Photos_Extension_Timestamp
*/
protected $_gphotoTimestamp = null;
/**
* gphoto:name element
*
* @var Zend_Gdata_Photos_Extension_Name
*/
protected $_gphotoName = null;
/**
* gphoto:numphotos element
*
* @var Zend_Gdata_Photos_Extension_NumPhotos
*/
protected $_gphotoNumPhotos = null;
/**
* gphoto:commentCount element
*
* @var Zend_Gdata_Photos_Extension_CommentCount
*/
protected $_gphotoCommentCount = null;
/**
* gphoto:commentingEnabled element
*
* @var Zend_Gdata_Photos_Extension_CommentingEnabled
*/
protected $_gphotoCommentingEnabled = null;
/**
* media:group element
*
* @var Zend_Gdata_Media_MediaGroup
*/
protected $_mediaGroup = null;
/**
* georss:where element
*
* @var Zend_Gdata_Geo_Extension_GeoRssWhere
*/
protected $_geoRssWhere = null;
/**
* Create a new instance.
*
*
* @param DOMElement $element (optional) DOMElement from which this
* object should be constructed.
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
$category = new Zend_Gdata_App_Extension_Category(
'http://schemas.google.com/photos/2007#album',
'http://schemas.google.com/g/2005#kind');
@ -266,12 +265,12 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
switch ($absoluteNodeName) {
case $this->lookupNamespace('gphoto') . ':' . 'access';
case $this->lookupNamespace('gphoto') . ':' . 'access';
$access = new Zend_Gdata_Photos_Extension_Access();
$access->transferFromDOM($child);
$this->_gphotoAccess = $access;
break;
case $this->lookupNamespace('gphoto') . ':' . 'location';
case $this->lookupNamespace('gphoto') . ':' . 'location';
$location = new Zend_Gdata_Photos_Extension_Location();
$location->transferFromDOM($child);
$this->_gphotoLocation = $location;
@ -281,47 +280,47 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$name->transferFromDOM($child);
$this->_gphotoName = $name;
break;
case $this->lookupNamespace('gphoto') . ':' . 'numphotos';
case $this->lookupNamespace('gphoto') . ':' . 'numphotos';
$numPhotos = new Zend_Gdata_Photos_Extension_NumPhotos();
$numPhotos->transferFromDOM($child);
$this->_gphotoNumPhotos = $numPhotos;
break;
case $this->lookupNamespace('gphoto') . ':' . 'commentCount';
case $this->lookupNamespace('gphoto') . ':' . 'commentCount';
$commentCount = new Zend_Gdata_Photos_Extension_CommentCount();
$commentCount->transferFromDOM($child);
$this->_gphotoCommentCount = $commentCount;
break;
case $this->lookupNamespace('gphoto') . ':' . 'commentingEnabled';
case $this->lookupNamespace('gphoto') . ':' . 'commentingEnabled';
$commentingEnabled = new Zend_Gdata_Photos_Extension_CommentingEnabled();
$commentingEnabled->transferFromDOM($child);
$this->_gphotoCommentingEnabled = $commentingEnabled;
break;
case $this->lookupNamespace('gphoto') . ':' . 'id';
case $this->lookupNamespace('gphoto') . ':' . 'id';
$id = new Zend_Gdata_Photos_Extension_Id();
$id->transferFromDOM($child);
$this->_gphotoId = $id;
break;
case $this->lookupNamespace('gphoto') . ':' . 'user';
case $this->lookupNamespace('gphoto') . ':' . 'user';
$user = new Zend_Gdata_Photos_Extension_User();
$user->transferFromDOM($child);
$this->_gphotoUser = $user;
break;
case $this->lookupNamespace('gphoto') . ':' . 'timestamp';
case $this->lookupNamespace('gphoto') . ':' . 'timestamp';
$timestamp = new Zend_Gdata_Photos_Extension_Timestamp();
$timestamp->transferFromDOM($child);
$this->_gphotoTimestamp = $timestamp;
break;
case $this->lookupNamespace('gphoto') . ':' . 'nickname';
case $this->lookupNamespace('gphoto') . ':' . 'nickname';
$nickname = new Zend_Gdata_Photos_Extension_Nickname();
$nickname->transferFromDOM($child);
$this->_gphotoNickname = $nickname;
break;
case $this->lookupNamespace('georss') . ':' . 'where';
case $this->lookupNamespace('georss') . ':' . 'where';
$geoRssWhere = new Zend_Gdata_Geo_Extension_GeoRssWhere();
$geoRssWhere->transferFromDOM($child);
$this->_geoRssWhere = $geoRssWhere;
break;
case $this->lookupNamespace('media') . ':' . 'group';
case $this->lookupNamespace('media') . ':' . 'group';
$mediaGroup = new Zend_Gdata_Media_Extension_MediaGroup();
$mediaGroup->transferFromDOM($child);
$this->_mediaGroup = $mediaGroup;
@ -354,7 +353,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoAccess = $value;
return $this;
}
/**
* Get the value for this element's gphoto:location attribute.
*
@ -377,7 +376,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_location = $value;
return $this;
}
/**
* Get the value for this element's gphoto:name attribute.
*
@ -400,7 +399,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoName = $value;
return $this;
}
/**
* Get the value for this element's gphoto:numphotos attribute.
*
@ -423,7 +422,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoNumPhotos = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentCount attribute.
*
@ -446,7 +445,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoCommentCount = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentingEnabled attribute.
*
@ -469,7 +468,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoCommentingEnabled = $value;
return $this;
}
/**
* Get the value for this element's gphoto:id attribute.
*
@ -492,7 +491,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoId = $value;
return $this;
}
/**
* Get the value for this element's georss:where attribute.
*
@ -515,7 +514,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_geoRssWhere = $value;
return $this;
}
/**
* Get the value for this element's media:group attribute.
*
@ -538,7 +537,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_mediaGroup = $value;
return $this;
}
/**
* Get the value for this element's gphoto:user attribute.
*
@ -561,7 +560,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoUser = $value;
return $this;
}
/**
* Get the value for this element's gphoto:nickname attribute.
*
@ -584,7 +583,7 @@ class Zend_Gdata_Photos_AlbumEntry extends Zend_Gdata_Entry
$this->_gphotoNickname = $value;
return $this;
}
/**
* Get the value for this element's gphoto:timestamp attribute.
*

View File

@ -36,14 +36,15 @@ require_once 'Zend/Gdata/Feed.php';
require_once 'Zend/Gdata/Photos/AlbumEntry.php';
/**
* Data model for a collection of album entries, usually
* Data model for a collection of album entries, usually
* provided by the servers.
*
*
* For information on requesting this feed from a server, see the
* service class, Zend_Gdata_Photos.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -51,77 +52,77 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
{
protected $_entryClassName = 'Zend_Gdata_Photos_AlbumEntry';
protected $_feedClassName = 'Zend_Gdata_Photos_AlbumFeed';
/**
* gphoto:id element
*
* @var Zend_Gdata_Photos_Extension_Id
*/
protected $_gphotoId = null;
/**
* gphoto:user element
*
* @var Zend_Gdata_Photos_Extension_User
*/
protected $_gphotoUser = null;
/**
* gphoto:access element
*
* @var Zend_Gdata_Photos_Extension_Access
*/
protected $_gphotoAccess = null;
/**
* gphoto:location element
*
* @var Zend_Gdata_Photos_Extension_Location
*/
protected $_gphotoLocation = null;
/**
* gphoto:nickname element
*
* @var Zend_Gdata_Photos_Extension_Nickname
*/
protected $_gphotoNickname = null;
/**
* gphoto:timestamp element
*
* @var Zend_Gdata_Photos_Extension_Timestamp
*/
protected $_gphotoTimestamp = null;
/**
* gphoto:name element
*
* @var Zend_Gdata_Photos_Extension_Name
*/
protected $_gphotoName = null;
/**
* gphoto:numphotos element
*
* @var Zend_Gdata_Photos_Extension_NumPhotos
*/
protected $_gphotoNumPhotos = null;
/**
* gphoto:commentCount element
*
* @var Zend_Gdata_Photos_Extension_CommentCount
*/
protected $_gphotoCommentCount = null;
/**
* gphoto:commentingEnabled element
*
* @var Zend_Gdata_Photos_Extension_CommentingEnabled
*/
protected $_gphotoCommentingEnabled = null;
protected $_entryKindClassMapping = array(
'http://schemas.google.com/photos/2007#photo' => 'Zend_Gdata_Photos_PhotoEntry',
'http://schemas.google.com/photos/2007#comment' => 'Zend_Gdata_Photos_CommentEntry',
@ -130,9 +131,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
}
@ -263,7 +262,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
{
return $this->_gphotoUser;
}
/**
* Set the value for this element's gphoto:user attribute.
*
@ -298,7 +297,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoAccess = $value;
return $this;
}
/**
* Get the value for this element's gphoto:location attribute.
*
@ -321,7 +320,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoLocation = $value;
return $this;
}
/**
* Get the value for this element's gphoto:name attribute.
*
@ -344,7 +343,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoName = $value;
return $this;
}
/**
* Get the value for this element's gphoto:numphotos attribute.
*
@ -367,7 +366,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoNumPhotos = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentCount attribute.
*
@ -390,7 +389,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoCommentCount = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentingEnabled attribute.
*
@ -413,7 +412,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoCommentingEnabled = $value;
return $this;
}
/**
* Get the value for this element's gphoto:id attribute.
*
@ -436,7 +435,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoId = $value;
return $this;
}
/**
* Get the value for this element's georss:where attribute.
*
@ -459,7 +458,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_geoRssWhere = $value;
return $this;
}
/**
* Get the value for this element's gphoto:nickname attribute.
*
@ -482,7 +481,7 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoNickname = $value;
return $this;
}
/**
* Get the value for this element's gphoto:timestamp attribute.
*
@ -505,5 +504,5 @@ class Zend_Gdata_Photos_AlbumFeed extends Zend_Gdata_Feed
$this->_gphotoTimestamp = $value;
return $this;
}
}

View File

@ -35,6 +35,7 @@ require_once('Zend/Gdata/Photos/UserQuery.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

View File

@ -47,8 +47,8 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
/**
* Data model class for a Comment Entry.
*
* To transfer user entries to and from the servers, including
*
* To transfer user entries to and from the servers, including
* creating new entries, refer to the service class,
* Zend_Gdata_Photos.
*
@ -56,6 +56,7 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -63,14 +64,14 @@ class Zend_Gdata_Photos_CommentEntry extends Zend_Gdata_Entry
{
protected $_entryClassName = 'Zend_Gdata_Photos_CommentEntry';
/**
* gphoto:id element
*
* @var Zend_Gdata_Photos_Extension_Id
*/
protected $_gphotoId = null;
/**
* gphoto:photoid element, differs from gphoto:id as this is an
* actual identification number unique exclusively to photo entries,
@ -82,17 +83,15 @@ class Zend_Gdata_Photos_CommentEntry extends Zend_Gdata_Entry
/**
* Create a new instance.
*
*
* @param DOMElement $element (optional) DOMElement from which this
* object should be constructed.
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
$category = new Zend_Gdata_App_Extension_Category(
'http://schemas.google.com/photos/2007#comment',
'http://schemas.google.com/g/2005#kind');
@ -129,14 +128,14 @@ class Zend_Gdata_Photos_CommentEntry extends Zend_Gdata_Entry
protected function takeChildFromDOM($child)
{
$absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
switch ($absoluteNodeName) {
case $this->lookupNamespace('gphoto') . ':' . 'id';
case $this->lookupNamespace('gphoto') . ':' . 'id';
$id = new Zend_Gdata_Photos_Extension_Id();
$id->transferFromDOM($child);
$this->_gphotoId = $id;
break;
case $this->lookupNamespace('gphoto') . ':' . 'photoid';
case $this->lookupNamespace('gphoto') . ':' . 'photoid';
$photoid = new Zend_Gdata_Photos_Extension_PhotoId();
$photoid->transferFromDOM($child);
$this->_gphotoPhotoId = $photoid;

View File

@ -32,11 +32,12 @@ require_once 'Zend/Gdata/Photos.php';
/**
* Represents the gphoto:access element used by the API.
* This determines the visibility for an album, and can be either
* This determines the visibility for an album, and can be either
* the strings 'private' or 'public'.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Access extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'access';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Access object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -31,12 +31,13 @@ require_once 'Zend/Gdata/Extension.php';
require_once 'Zend/Gdata/Photos.php';
/**
* Represents the gphoto:albumid element used by the API. This
* class represents the ID of an album and is usually contained
* Represents the gphoto:albumid element used by the API. This
* class represents the ID of an album and is usually contained
* within an instance of Zend_Gdata_Photos_AlbumEntry or CommentEntry.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_AlbumId extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'albumid';
/**
* Constructs a new Zend_Gdata_Photos_Extension_AlbumId object.
*
*
* @param string $text (optional) The value to use for the Album ID.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_BytesUsed extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'bytesUsed';
/**
* Constructs a new Zend_Gdata_Photos_Extension_BytesUsed object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Checksum extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'checksum';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Checksum object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Client extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'client';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Client object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -31,12 +31,13 @@ require_once 'Zend/Gdata/Extension.php';
require_once 'Zend/Gdata/Photos.php';
/**
* Represents the gphoto:commentCount element used by the API. This
* class represents the number of comments attached to an entry and is usually contained
* Represents the gphoto:commentCount element used by the API. This
* class represents the number of comments attached to an entry and is usually contained
* within an instance of Zend_Gdata_Photos_PhotoEntry or AlbumEntry.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_CommentCount extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'commentCount';
/**
* Constructs a new Zend_Gdata_Photos_Extension_CommentCount object.
*
*
* @param string $text (optional) The value to use for the count.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,18 +46,16 @@ class Zend_Gdata_Photos_Extension_CommentingEnabled extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'commentingEnabled';
/**
* Constructs a new Zend_Gdata_Photos_Extension_CommentingEnabled object.
*
*
* @param string $text (optional) Whether commenting should be enabled
* or not.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Height extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'height';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Height object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Id extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'id';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Id object.
*
*
* @param string $text (optional) The ID being represented.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Location extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'location';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Location object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_MaxPhotosPerAlbum extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'maxPhotosPerAlbum';
/**
* Constructs a new Zend_Gdata_Photos_Extension_MaxPhotosPerAlbum object.
*
*
* @param string $text (optional) The value being represented.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,19 +45,17 @@ class Zend_Gdata_Photos_Extension_Name extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'name';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Name object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Nickname extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'nickname';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Nickname object.
*
*
* @param string $text (optional) The value being represented.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_NumPhotos extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'numphotos';
/**
* Constructs a new Zend_Gdata_Photos_Extension_NumPhotos object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_NumPhotosRemaining extends Zend_Gdata_Extensio
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'numphotosremaining';
/**
* Constructs a new Zend_Gdata_Photos_Extension_NumPhotosRemaining object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -35,6 +35,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -43,17 +44,15 @@ class Zend_Gdata_Photos_Extension_PhotoId extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'id';
/**
* Constructs a new Zend_Gdata_Photos_Extension_PhotoId object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Position extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'position';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Position object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_QuotaCurrent extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'quotaCurrent';
/**
* Constructs a new Zend_Gdata_Photos_Extension_QuotaCurrent object.
*
*
* @param string $text (optional) The value being represented.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_QuotaLimit extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'quotaLimit';
/**
* Constructs a new Zend_Gdata_Photos_Extension_QuotaLimit object.
*
*
* @param string $text (optional) The value being represented.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Rotation extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'rotation';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Rotation object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Size extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'size';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Size object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Thumbnail extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'thumbnail';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Thumbnail object.
*
*
* @param string $text (optional) The thumbnail URI to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Timestamp extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'timestamp';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Timestamp object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_User extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'user';
/**
* Constructs a new Zend_Gdata_Photos_Extension_User object.
*
*
* @param string $text (optional) The username to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Version extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'version';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Version object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -37,6 +37,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -45,17 +46,15 @@ class Zend_Gdata_Photos_Extension_Weight extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'weight';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Weight object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -36,6 +36,7 @@ require_once 'Zend/Gdata/Photos.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -44,17 +45,15 @@ class Zend_Gdata_Photos_Extension_Width extends Zend_Gdata_Extension
protected $_rootNamespace = 'gphoto';
protected $_rootElement = 'width';
/**
* Constructs a new Zend_Gdata_Photos_Extension_Width object.
*
*
* @param string $text (optional) The value to represent.
*/
public function __construct($text = null)
public function __construct($text = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct();
$this->setText($text);
}

View File

@ -102,8 +102,8 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
/**
* Data model class for a Comment Entry.
*
* To transfer user entries to and from the servers, including
*
* To transfer user entries to and from the servers, including
* creating new entries, refer to the service class,
* Zend_Gdata_Photos.
*
@ -111,6 +111,7 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -118,111 +119,109 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
{
protected $_entryClassName = 'Zend_Gdata_Photos_PhotoEntry';
/**
* gphoto:id element
*
* @var Zend_Gdata_Photos_Extension_Id
*/
protected $_gphotoId = null;
/**
* gphoto:albumid element
*
* @var Zend_Gdata_Photos_Extension_AlbumId
*/
protected $_gphotoAlbumId = null;
/**
* gphoto:version element
*
* @var Zend_Gdata_Photos_Extension_Version
*/
protected $_gphotoVersion = null;
/**
* gphoto:width element
*
* @var Zend_Gdata_Photos_Extension_Width
*/
protected $_gphotoWidth = null;
/**
* gphoto:height element
*
* @var Zend_Gdata_Photos_Extension_Height
*/
protected $_gphotoHeight = null;
/**
* gphoto:size element
*
* @var Zend_Gdata_Photos_Extension_Size
*/
protected $_gphotoSize = null;
/**
* gphoto:client element
*
* @var Zend_Gdata_Photos_Extension_Client
*/
protected $_gphotoClient = null;
/**
* gphoto:checksum element
*
* @var Zend_Gdata_Photos_Extension_Checksum
*/
protected $_gphotoChecksum = null;
/**
* gphoto:timestamp element
*
* @var Zend_Gdata_Photos_Extension_Timestamp
*/
protected $_gphotoTimestamp = null;
/**
* gphoto:commentCount element
*
* @var Zend_Gdata_Photos_Extension_CommentCount
*/
protected $_gphotoCommentCount = null;
/**
* gphoto:commentingEnabled element
*
* @var Zend_Gdata_Photos_Extension_CommentingEnabled
*/
protected $_gphotoCommentingEnabled = null;
/**
* exif:tags element
*
* @var Zend_Gdata_Exif_Extension_Tags
*/
protected $_exifTags = null;
/**
* georss:where element
*
* @var Zend_Gdata_Geo_Extension_GeoRssWhere
*/
protected $_geoRssWhere = null;
/**
* Create a new instance.
*
*
* @param DOMElement $element (optional) DOMElement from which this
* object should be constructed.
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
$category = new Zend_Gdata_App_Extension_Category(
'http://schemas.google.com/photos/2007#photo',
'http://schemas.google.com/g/2005#kind');
@ -292,69 +291,69 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
protected function takeChildFromDOM($child)
{
$absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
switch ($absoluteNodeName) {
case $this->lookupNamespace('gphoto') . ':' . 'albumid';
case $this->lookupNamespace('gphoto') . ':' . 'albumid';
$albumId = new Zend_Gdata_Photos_Extension_AlbumId();
$albumId->transferFromDOM($child);
$this->_gphotoAlbumId = $albumId;
break;
case $this->lookupNamespace('gphoto') . ':' . 'id';
case $this->lookupNamespace('gphoto') . ':' . 'id';
$id = new Zend_Gdata_Photos_Extension_Id();
$id->transferFromDOM($child);
$this->_gphotoId = $id;
break;
case $this->lookupNamespace('gphoto') . ':' . 'version';
case $this->lookupNamespace('gphoto') . ':' . 'version';
$version = new Zend_Gdata_Photos_Extension_Version();
$version->transferFromDOM($child);
$this->_gphotoVersion = $version;
break;
case $this->lookupNamespace('gphoto') . ':' . 'width';
case $this->lookupNamespace('gphoto') . ':' . 'width';
$width = new Zend_Gdata_Photos_Extension_Width();
$width->transferFromDOM($child);
$this->_gphotoWidth = $width;
break;
case $this->lookupNamespace('gphoto') . ':' . 'height';
case $this->lookupNamespace('gphoto') . ':' . 'height';
$height = new Zend_Gdata_Photos_Extension_Height();
$height->transferFromDOM($child);
$this->_gphotoHeight = $height;
break;
case $this->lookupNamespace('gphoto') . ':' . 'size';
case $this->lookupNamespace('gphoto') . ':' . 'size';
$size = new Zend_Gdata_Photos_Extension_Size();
$size->transferFromDOM($child);
$this->_gphotoSize = $size;
break;
case $this->lookupNamespace('gphoto') . ':' . 'client';
case $this->lookupNamespace('gphoto') . ':' . 'client';
$client = new Zend_Gdata_Photos_Extension_Client();
$client->transferFromDOM($child);
$this->_gphotoClient = $client;
break;
case $this->lookupNamespace('gphoto') . ':' . 'checksum';
case $this->lookupNamespace('gphoto') . ':' . 'checksum';
$checksum = new Zend_Gdata_Photos_Extension_Checksum();
$checksum->transferFromDOM($child);
$this->_gphotoChecksum = $checksum;
break;
case $this->lookupNamespace('gphoto') . ':' . 'timestamp';
case $this->lookupNamespace('gphoto') . ':' . 'timestamp';
$timestamp = new Zend_Gdata_Photos_Extension_Timestamp();
$timestamp->transferFromDOM($child);
$this->_gphotoTimestamp = $timestamp;
break;
case $this->lookupNamespace('gphoto') . ':' . 'commentingEnabled';
case $this->lookupNamespace('gphoto') . ':' . 'commentingEnabled';
$commentingEnabled = new Zend_Gdata_Photos_Extension_CommentingEnabled();
$commentingEnabled->transferFromDOM($child);
$this->_gphotoCommentingEnabled = $commentingEnabled;
break;
case $this->lookupNamespace('gphoto') . ':' . 'commentCount';
case $this->lookupNamespace('gphoto') . ':' . 'commentCount';
$commentCount = new Zend_Gdata_Photos_Extension_CommentCount();
$commentCount->transferFromDOM($child);
$this->_gphotoCommentCount = $commentCount;
break;
case $this->lookupNamespace('exif') . ':' . 'tags';
case $this->lookupNamespace('exif') . ':' . 'tags';
$exifTags = new Zend_Gdata_Exif_Extension_Tags();
$exifTags->transferFromDOM($child);
$this->_exifTags = $exifTags;
break;
case $this->lookupNamespace('georss') . ':' . 'where';
case $this->lookupNamespace('georss') . ':' . 'where';
$geoRssWhere = new Zend_Gdata_Geo_Extension_GeoRssWhere();
$geoRssWhere->transferFromDOM($child);
$this->_geoRssWhere = $geoRssWhere;
@ -362,10 +361,10 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
default:
parent::takeChildFromDOM($child);
break;
}
}
/**
* Get the value for this element's gphoto:albumid attribute.
*
@ -388,7 +387,7 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
$this->_gphotoAlbumId = $value;
return $this;
}
/**
* Get the value for this element's gphoto:id attribute.
*
@ -595,7 +594,7 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
$this->_gphotoCommentCount = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentingEnabled attribute.
*
@ -618,7 +617,7 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
$this->_gphotoCommentingEnabled = $value;
return $this;
}
/**
* Get the value for this element's exif:tags attribute.
*
@ -641,7 +640,7 @@ class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
$this->_exifTags = $value;
return $this;
}
/**
* Get the value for this element's georss:where attribute.
*

View File

@ -36,104 +36,105 @@ require_once 'Zend/Gdata/Feed.php';
require_once 'Zend/Gdata/Photos/PhotoEntry.php';
/**
* Data model for a collection of photo entries, usually
* Data model for a collection of photo entries, usually
* provided by the Picasa servers.
*
*
* For information on requesting this feed from a server, see the
* service class, Zend_Gdata_Photos.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
{
/**
* gphoto:id element
*
* @var Zend_Gdata_Photos_Extension_Id
*/
protected $_gphotoId = null;
/**
* gphoto:albumid element
*
* @var Zend_Gdata_Photos_Extension_AlbumId
*/
protected $_gphotoAlbumId = null;
/**
* gphoto:version element
*
* @var Zend_Gdata_Photos_Extension_Version
*/
protected $_gphotoVersion = null;
/**
* gphoto:width element
*
* @var Zend_Gdata_Photos_Extension_Width
*/
protected $_gphotoWidth = null;
/**
* gphoto:height element
*
* @var Zend_Gdata_Photos_Extension_Height
*/
protected $_gphotoHeight = null;
/**
* gphoto:size element
*
* @var Zend_Gdata_Photos_Extension_Size
*/
protected $_gphotoSize = null;
/**
* gphoto:client element
*
* @var Zend_Gdata_Photos_Extension_Client
*/
protected $_gphotoClient = null;
/**
* gphoto:checksum element
*
* @var Zend_Gdata_Photos_Extension_Checksum
*/
protected $_gphotoChecksum = null;
/**
* gphoto:timestamp element
*
* @var Zend_Gdata_Photos_Extension_Timestamp
*/
protected $_gphotoTimestamp = null;
/**
* gphoto:commentCount element
*
* @var Zend_Gdata_Photos_Extension_CommentCount
*/
protected $_gphotoCommentCount = null;
/**
* gphoto:commentingEnabled element
*
* @var Zend_Gdata_Photos_Extension_CommentingEnabled
*/
protected $_gphotoCommentingEnabled = null;
/**
* media:group element
*
* @var Zend_Gdata_Media_Extension_MediaGroup
*/
protected $_mediaGroup = null;
protected $_entryClassName = 'Zend_Gdata_Photos_PhotoEntry';
protected $_feedClassName = 'Zend_Gdata_Photos_PhotoFeed';
@ -144,9 +145,7 @@ class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
}
@ -250,7 +249,7 @@ class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
$commentCount->transferFromDOM($child);
$this->_gphotoCommentCount = $commentCount;
break;
case $this->lookupNamespace('media') . ':' . 'group';
case $this->lookupNamespace('media') . ':' . 'group';
$mediaGroup = new Zend_Gdata_Media_Extension_MediaGroup();
$mediaGroup->transferFromDOM($child);
$this->_mediaGroup = $mediaGroup;
@ -509,7 +508,7 @@ class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
$this->_gphotoCommentCount = $value;
return $this;
}
/**
* Get the value for this element's gphoto:commentingEnabled attribute.
*
@ -532,7 +531,7 @@ class Zend_Gdata_Photos_PhotoFeed extends Zend_Gdata_Feed
$this->_gphotoCommentingEnabled = $value;
return $this;
}
/**
* Get the value for this element's media:group attribute.
*

View File

@ -35,6 +35,7 @@ require_once('Zend/Gdata/Photos/AlbumQuery.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

View File

@ -37,8 +37,8 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
/**
* Data model class for a Tag Entry.
*
* To transfer user entries to and from the servers, including
*
* To transfer user entries to and from the servers, including
* creating new entries, refer to the service class,
* Zend_Gdata_Photos.
*
@ -46,6 +46,7 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -53,22 +54,20 @@ class Zend_Gdata_Photos_TagEntry extends Zend_Gdata_Entry
{
protected $_entryClassName = 'Zend_Gdata_Photos_TagEntry';
protected $_gphotoWeight = null;
/**
* Create a new instance.
*
*
* @param DOMElement $element (optional) DOMElement from which this
* object should be constructed.
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
$category = new Zend_Gdata_App_Extension_Category(
'http://schemas.google.com/photos/2007#tag',
'http://schemas.google.com/g/2005#kind');
@ -102,9 +101,9 @@ class Zend_Gdata_Photos_TagEntry extends Zend_Gdata_Entry
protected function takeChildFromDOM($child)
{
$absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
switch ($absoluteNodeName) {
case $this->lookupNamespace('gphoto') . ':' . 'weight';
case $this->lookupNamespace('gphoto') . ':' . 'weight';
$weight = new Zend_Gdata_Photos_Extension_Weight();
$weight->transferFromDOM($child);
$this->_gphotoWeight = $weight;

View File

@ -67,8 +67,8 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
/**
* Data model class for a User Entry.
*
* To transfer user entries to and from the servers, including
*
* To transfer user entries to and from the servers, including
* creating new entries, refer to the service class,
* Zend_Gdata_Photos.
*
@ -76,6 +76,7 @@ require_once 'Zend/Gdata/App/Extension/Category.php';
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@ -83,62 +84,60 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
{
protected $_entryClassName = 'Zend_Gdata_Photos_UserEntry';
/**
* gphoto:nickname element
*
* @var Zend_Gdata_Photos_Extension_Nickname
*/
protected $_gphotoNickname = null;
/**
* gphoto:user element
*
* @var Zend_Gdata_Photos_Extension_User
*/
protected $_gphotoUser = null;
/**
* gphoto:thumbnail element
*
* @var Zend_Gdata_Photos_Extension_Thumbnail
*/
protected $_gphotoThumbnail = null;
/**
* gphoto:quotalimit element
*
* @var Zend_Gdata_Photos_Extension_QuotaLimit
*/
protected $_gphotoQuotaLimit = null;
/**
* gphoto:quotacurrent element
*
* @var Zend_Gdata_Photos_Extension_QuotaCurrent
*/
protected $_gphotoQuotaCurrent = null;
/**
* gphoto:maxPhotosPerAlbum element
*
* @var Zend_Gdata_Photos_Extension_MaxPhotosPerAlbum
*/
protected $_gphotoMaxPhotosPerAlbum = null;
/**
* Create a new instance.
*
*
* @param DOMElement $element (optional) DOMElement from which this
* object should be constructed.
*/
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
$category = new Zend_Gdata_App_Extension_Category(
'http://schemas.google.com/photos/2007#user',
'http://schemas.google.com/g/2005#kind');
@ -189,32 +188,32 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
switch ($absoluteNodeName) {
case $this->lookupNamespace('gphoto') . ':' . 'nickname';
case $this->lookupNamespace('gphoto') . ':' . 'nickname';
$nickname = new Zend_Gdata_Photos_Extension_Nickname();
$nickname->transferFromDOM($child);
$this->_gphotoNickname = $nickname;
break;
case $this->lookupNamespace('gphoto') . ':' . 'thumbnail';
case $this->lookupNamespace('gphoto') . ':' . 'thumbnail';
$thumbnail = new Zend_Gdata_Photos_Extension_Thumbnail();
$thumbnail->transferFromDOM($child);
$this->_gphotoThumbnail = $thumbnail;
break;
case $this->lookupNamespace('gphoto') . ':' . 'user';
case $this->lookupNamespace('gphoto') . ':' . 'user';
$user = new Zend_Gdata_Photos_Extension_User();
$user->transferFromDOM($child);
$this->_gphotoUser = $user;
break;
case $this->lookupNamespace('gphoto') . ':' . 'quotacurrent';
case $this->lookupNamespace('gphoto') . ':' . 'quotacurrent';
$quotaCurrent = new Zend_Gdata_Photos_Extension_QuotaCurrent();
$quotaCurrent->transferFromDOM($child);
$this->_gphotoQuotaCurrent = $quotaCurrent;
break;
case $this->lookupNamespace('gphoto') . ':' . 'quotalimit';
case $this->lookupNamespace('gphoto') . ':' . 'quotalimit';
$quotaLimit = new Zend_Gdata_Photos_Extension_QuotaLimit();
$quotaLimit->transferFromDOM($child);
$this->_gphotoQuotaLimit = $quotaLimit;
break;
case $this->lookupNamespace('gphoto') . ':' . 'maxPhotosPerAlbum';
case $this->lookupNamespace('gphoto') . ':' . 'maxPhotosPerAlbum';
$maxPhotosPerAlbum = new Zend_Gdata_Photos_Extension_MaxPhotosPerAlbum();
$maxPhotosPerAlbum->transferFromDOM($child);
$this->_gphotoMaxPhotosPerAlbum = $maxPhotosPerAlbum;
@ -224,7 +223,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
break;
}
}
/**
* Get the value for this element's gphoto:nickname attribute.
*
@ -247,7 +246,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$this->_gphotoNickname = $value;
return $this;
}
/**
* Get the value for this element's gphoto:thumbnail attribute.
*
@ -270,7 +269,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$this->_gphotoThumbnail = $value;
return $this;
}
/**
* Get the value for this element's gphoto:quotacurrent attribute.
*
@ -279,7 +278,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
*/
public function getGphotoQuotaCurrent()
{
return $this->_gphotoThumbnail;
return $this->_gphotoQuotaCurrent;
}
/**
@ -290,10 +289,10 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
*/
public function setGphotoQuotaCurrent($value)
{
$this->_gphotoThumbnail = $value;
$this->_gphotoQuotaCurrent = $value;
return $this;
}
/**
* Get the value for this element's gphoto:quotalimit attribute.
*
@ -316,7 +315,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$this->_gphotoQuotaLimit = $value;
return $this;
}
/**
* Get the value for this element's gphoto:maxPhotosPerAlbum attribute.
*
@ -339,7 +338,7 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$this->_gphotoMaxPhotosPerAlbum = $value;
return $this;
}
/**
* Get the value for this element's gphoto:user attribute.
*
@ -362,5 +361,5 @@ class Zend_Gdata_Photos_UserEntry extends Zend_Gdata_Entry
$this->_gphotoUser = $value;
return $this;
}
}

View File

@ -56,34 +56,35 @@ require_once 'Zend/Gdata/Photos/TagEntry.php';
require_once 'Zend/Gdata/Photos/CommentEntry.php';
/**
* Data model for a collection of entries for a specific user, usually
* Data model for a collection of entries for a specific user, usually
* provided by the servers.
*
*
* For information on requesting this feed from a server, see the
* service class, Zend_Gdata_Photos.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
{
/**
* gphoto:user element
*
* @var Zend_Gdata_Photos_Extension_User
*/
protected $_gphotoUser = null;
/**
* gphoto:thumbnail element
*
* @var Zend_Gdata_Photos_Extension_Thumbnail
*/
protected $_gphotoThumbnail = null;
/**
* gphoto:nickname element
*
@ -103,12 +104,10 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
public function __construct($element = null)
{
foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
$this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
parent::__construct($element);
}
/**
* Creates individual Entry objects of the appropriate type and
* stores them in the $_entry array based upon DOM data.
@ -148,7 +147,7 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
throw new Zend_Gdata_App_Exception('Entry is missing kind declaration.');
}
}
$newEntry = new $entryClassName($child);
$newEntry->setHttpClient($this->getHttpClient());
$this->_entry[] = $newEntry;
@ -174,7 +173,7 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
return $element;
}
/**
* Get the value for this element's gphoto:user attribute.
*
@ -185,7 +184,7 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
{
return $this->_gphotoUser;
}
/**
* Set the value for this element's gphoto:user attribute.
*
@ -208,7 +207,7 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
{
return $this->_gphotoNickname;
}
/**
* Set the value for this element's gphoto:nickname attribute.
*
@ -231,7 +230,7 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
{
return $this->_gphotoThumbnail;
}
/**
* Set the value for this element's gphoto:thumbnail attribute.
*
@ -243,5 +242,5 @@ class Zend_Gdata_Photos_UserFeed extends Zend_Gdata_Feed
$this->_gphotoThumbnail = $value;
return $this;
}
}

View File

@ -35,6 +35,7 @@ require_once('Zend/Gdata/Gapps/Query.php');
*
* @category Zend
* @package Zend_Gdata
* @subpackage Photos
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/