[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Gdata/ -> Gbase.php (source)

   1  <?php
   2  
   3  /**
   4   * Zend Framework
   5   *
   6   * LICENSE
   7   *
   8   * This source file is subject to the new BSD license that is bundled
   9   * with this package in the file LICENSE.txt.
  10   * It is also available through the world-wide-web at this URL:
  11   * http://framework.zend.com/license/new-bsd
  12   * If you did not receive a copy of the license and are unable to
  13   * obtain it through the world-wide-web, please send an email
  14   * to [email protected] so we can send you a copy immediately.
  15   *
  16   * @category   Zend
  17   * @package    Zend_Gdata
  18   * @subpackage Gbase
  19   * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  20   * @license    http://framework.zend.com/license/new-bsd     New BSD License
  21   * @version    $Id: Gbase.php 24777 2012-05-08 18:50:23Z adamlundrigan $
  22   */
  23  
  24  /**
  25   * @see Zend_Exception
  26   */
  27  require_once  'Zend/Exception.php';
  28  
  29  /**
  30   * @see Zend_Gdata
  31   */
  32  require_once  'Zend/Gdata.php';
  33  
  34  /**
  35   * Service class for interacting with the Google Base data API
  36   *
  37   * @link http://code.google.com/apis/base
  38   *
  39   * @category   Zend
  40   * @package    Zend_Gdata
  41   * @subpackage Gbase
  42   * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  43   * @license    http://framework.zend.com/license/new-bsd     New BSD License
  44   */
  45  class Zend_Gdata_Gbase extends Zend_Gdata
  46  {
  47  
  48      /**
  49       * Path to the customer items feeds on the Google Base server.
  50       */
  51      const GBASE_ITEM_FEED_URI = 'https://www.google.com/base/feeds/items';
  52  
  53      /**
  54       * Path to the snippets feeds on the Google Base server.
  55       */
  56      const GBASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets';
  57  
  58      /**
  59       * Authentication service name for Google Base
  60       */
  61      const AUTH_SERVICE_NAME = 'gbase';
  62  
  63      /**
  64       * Create Zend_Gdata_Gbase object
  65       *
  66       * @param Zend_Http_Client $client (optional) The HTTP client to use when
  67       *          when communicating with the Google Apps servers.
  68       * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  69       */
  70      public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
  71      {
  72          throw new Zend_Exception(
  73              'Google Base API has been discontinued by Google and was removed'
  74              . ' from Zend Framework in 1.12.0.  For more information see: '
  75              . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
  76          );
  77      }
  78  }


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1