web/lib/Zend/Gdata/Gbase/Feed.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    14  * to license@zend.com so we can send you a copy immediately.
    14  * to license@zend.com so we can send you a copy immediately.
    15  *
    15  *
    16  * @category   Zend
    16  * @category   Zend
    17  * @package    Zend_Gdata
    17  * @package    Zend_Gdata
    18  * @subpackage Gbase
    18  * @subpackage Gbase
    19  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    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
    20  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    21  * @version    $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
    21  * @version    $Id: Feed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
    22  */
    22  */
       
    23 
       
    24 /**
       
    25  * @see Zend_Exception
       
    26  */
       
    27 require_once 'Zend/Exception.php';
    23 
    28 
    24 /**
    29 /**
    25  * @see Zend_Gdata_Feed
    30  * @see Zend_Gdata_Feed
    26  */
    31  */
    27 require_once 'Zend/Gdata/Feed.php';
    32 require_once 'Zend/Gdata/Feed.php';
    32  * @link http://code.google.com/apis/base/
    37  * @link http://code.google.com/apis/base/
    33  *
    38  *
    34  * @category   Zend
    39  * @category   Zend
    35  * @package    Zend_Gdata
    40  * @package    Zend_Gdata
    36  * @subpackage Gbase
    41  * @subpackage Gbase
    37  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    42  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    38  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    43  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    39  */
    44  */
    40 class Zend_Gdata_Gbase_Feed extends Zend_Gdata_Feed
    45 class Zend_Gdata_Gbase_Feed extends Zend_Gdata_Feed
    41 {
    46 {
    42     /**
       
    43      * The classname for the feed.
       
    44      *
       
    45      * @var string
       
    46      */
       
    47     protected $_feedClassName = 'Zend_Gdata_Gbase_Feed';
       
    48 
       
    49     /**
    47     /**
    50      * Create a new instance.
    48      * Create a new instance.
    51      *
    49      *
    52      * @param DOMElement $element (optional) DOMElement from which this
    50      * @param DOMElement $element (optional) DOMElement from which this
    53      *          object should be constructed.
    51      *          object should be constructed.
    54      */
    52      */
    55     public function __construct($element = null)
    53     public function __construct($element = null)
    56     {
    54     {
    57         $this->registerAllNamespaces(Zend_Gdata_Gbase::$namespaces);
    55         throw new Zend_Exception(
    58         parent::__construct($element);
    56             'Google Base API has been discontinued by Google and was removed'
       
    57             . ' from Zend Framework in 1.12.0.  For more information see: '
       
    58             . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
       
    59         );    
    59     }
    60     }
    60 }
    61 }