summaryrefslogtreecommitdiff
path: root/zend/library/Zend/Gdata/Gbase
diff options
context:
space:
mode:
Diffstat (limited to 'zend/library/Zend/Gdata/Gbase')
-rw-r--r--zend/library/Zend/Gdata/Gbase/Entry.php59
-rw-r--r--zend/library/Zend/Gdata/Gbase/Extension/BaseAttribute.php54
-rw-r--r--zend/library/Zend/Gdata/Gbase/Feed.php61
-rw-r--r--zend/library/Zend/Gdata/Gbase/ItemEntry.php42
-rw-r--r--zend/library/Zend/Gdata/Gbase/ItemFeed.php42
-rw-r--r--zend/library/Zend/Gdata/Gbase/ItemQuery.php52
-rw-r--r--zend/library/Zend/Gdata/Gbase/Query.php69
-rw-r--r--zend/library/Zend/Gdata/Gbase/SnippetEntry.php42
-rw-r--r--zend/library/Zend/Gdata/Gbase/SnippetFeed.php47
-rw-r--r--zend/library/Zend/Gdata/Gbase/SnippetQuery.php46
10 files changed, 514 insertions, 0 deletions
diff --git a/zend/library/Zend/Gdata/Gbase/Entry.php b/zend/library/Zend/Gdata/Gbase/Entry.php
new file mode 100644
index 0000000..1a57f1a
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/Entry.php
@@ -0,0 +1,59 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Entry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Entry
+ */
+require_once 'Zend/Gdata/Entry.php';
+
+/**
+ * Base class for working with Google Base entries.
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_Entry extends Zend_Gdata_Entry
+{
+ /**
+ * Constructs a new Zend_Gdata_Gbase_ItemEntry object.
+ * @param DOMElement $element (optional) The DOMElement on which to base this object.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Gbase/Extension/BaseAttribute.php b/zend/library/Zend/Gdata/Gbase/Extension/BaseAttribute.php
new file mode 100644
index 0000000..a440f9f
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/Extension/BaseAttribute.php
@@ -0,0 +1,54 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: BaseAttribute.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Gdata_App_Extension_Element
+ */
+require_once 'Zend/Gdata/App/Extension/Element.php';
+
+/**
+ * Concrete class for working with ItemType elements.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_Extension_BaseAttribute extends Zend_Gdata_App_Extension_Element
+{
+ /**
+ * Create a new instance.
+ *
+ * @param string $name (optional) The name of the Base attribute
+ * @param string $text (optional) The text value of the Base attribute
+ * @param string $text (optional) The type of the Base attribute
+ */
+ public function __construct($name = null, $text = null, $type = null)
+ {
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Gbase/Feed.php b/zend/library/Zend/Gdata/Gbase/Feed.php
new file mode 100644
index 0000000..0925dd2
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/Feed.php
@@ -0,0 +1,61 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Feed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Feed
+ */
+require_once 'Zend/Gdata/Feed.php';
+
+/**
+ * Base class for the Google Base Feed
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_Feed extends Zend_Gdata_Feed
+{
+ /**
+ * Create a new instance.
+ *
+ * @param DOMElement $element (optional) DOMElement from which this
+ * object should be constructed.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Gbase/ItemEntry.php b/zend/library/Zend/Gdata/Gbase/ItemEntry.php
new file mode 100644
index 0000000..e2ef503
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/ItemEntry.php
@@ -0,0 +1,42 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ItemEntry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Gdata_Gbase_Entry
+ */
+require_once 'Zend/Gdata/Gbase/Entry.php';
+
+/**
+ * Concrete class for working with Item entries.
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_ItemEntry extends Zend_Gdata_Gbase_Entry
+{
+}
diff --git a/zend/library/Zend/Gdata/Gbase/ItemFeed.php b/zend/library/Zend/Gdata/Gbase/ItemFeed.php
new file mode 100644
index 0000000..64a5168
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/ItemFeed.php
@@ -0,0 +1,42 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ItemFeed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Gdata_Gbase_Feed
+ */
+require_once 'Zend/Gdata/Gbase/Feed.php';
+
+/**
+ * Represents the Google Base Customer Items Feed
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_ItemFeed extends Zend_Gdata_Feed
+{
+}
diff --git a/zend/library/Zend/Gdata/Gbase/ItemQuery.php b/zend/library/Zend/Gdata/Gbase/ItemQuery.php
new file mode 100644
index 0000000..b73d11c
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/ItemQuery.php
@@ -0,0 +1,52 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ItemQuery.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Gbase_Query
+ */
+require_once 'Zend/Gdata/Gbase/Query.php';
+
+
+/**
+ * Assists in constructing queries for Google Base Customer Items Feed
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_ItemQuery extends Zend_Gdata_Gbase_Query
+{
+ /**
+ * Path to the customer items feeds on the Google Base server.
+ */
+ const GBASE_ITEM_FEED_URI = 'https://www.google.com/base/feeds/items';
+}
diff --git a/zend/library/Zend/Gdata/Gbase/Query.php b/zend/library/Zend/Gdata/Gbase/Query.php
new file mode 100644
index 0000000..6e35434
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/Query.php
@@ -0,0 +1,69 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Query.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Query
+ */
+require_once 'Zend/Gdata/Query.php';
+
+/**
+ * Assists in constructing queries for Google Base
+ *
+ * @link http://code.google.com/apis/base
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_Query extends Zend_Gdata_Query
+{
+
+ /**
+ * Path to the customer items feeds on the Google Base server.
+ */
+ const GBASE_ITEM_FEED_URI = 'https://www.google.com/base/feeds/items';
+
+ /**
+ * Path to the snippets feeds on the Google Base server.
+ */
+ const GBASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
+
+ /**
+ * Create Gdata_Query object
+ */
+ public function __construct($url = null)
+ {
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Gbase/SnippetEntry.php b/zend/library/Zend/Gdata/Gbase/SnippetEntry.php
new file mode 100644
index 0000000..d8e72d1
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/SnippetEntry.php
@@ -0,0 +1,42 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: SnippetEntry.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Gdata_Gbase_Entry
+ */
+require_once 'Zend/Gdata/Gbase/Entry.php';
+
+/**
+ * Concrete class for working with Snippet entries.
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_SnippetEntry extends Zend_Gdata_Gbase_Entry
+{
+}
diff --git a/zend/library/Zend/Gdata/Gbase/SnippetFeed.php b/zend/library/Zend/Gdata/Gbase/SnippetFeed.php
new file mode 100644
index 0000000..15ac3c3
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/SnippetFeed.php
@@ -0,0 +1,47 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: SnippetFeed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Feed
+ */
+require_once 'Zend/Gdata/Feed.php';
+
+/**
+ * Represents the Google Base Snippets Feed
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_SnippetFeed extends Zend_Gdata_Feed
+{
+}
diff --git a/zend/library/Zend/Gdata/Gbase/SnippetQuery.php b/zend/library/Zend/Gdata/Gbase/SnippetQuery.php
new file mode 100644
index 0000000..14b0f6a
--- /dev/null
+++ b/zend/library/Zend/Gdata/Gbase/SnippetQuery.php
@@ -0,0 +1,46 @@
+<?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 license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: SnippetQuery.php 24777 2012-05-08 18:50:23Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Gdata_Gbase_Query
+ */
+require_once 'Zend/Gdata/Gbase/Query.php';
+
+/**
+ * Assists in constructing queries for Google Base Snippets Feed
+ *
+ * @link http://code.google.com/apis/base/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Gbase
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Gbase_SnippetQuery extends Zend_Gdata_Gbase_Query
+{
+ /**
+ * Path to the snippets feeds on the Google Base server.
+ */
+ const BASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
+}