File indexing completed on 2024-06-23 05:55:22

0001 <?php
0002 /**
0003  * Zend Framework
0004  *
0005  * LICENSE
0006  *
0007  * This source file is subject to the new BSD license that is bundled
0008  * with this package in the file LICENSE.txt.
0009  * It is also available through the world-wide-web at this URL:
0010  * http://framework.zend.com/license/new-bsd
0011  * If you did not receive a copy of the license and are unable to
0012  * obtain it through the world-wide-web, please send an email
0013  * to license@zend.com so we can send you a copy immediately.
0014  *
0015  * @category   Zend
0016  * @package    Zend_Gdata
0017  * @subpackage Health
0018  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0019  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0020  * @version    $Id$
0021  */
0022 
0023 /**
0024  * @see Zend_Exception
0025  */
0026 // require_once 'Zend/Exception.php';
0027 
0028 /**
0029  * @see Zend_Gdata_App_Extension_Element
0030  */
0031 // require_once 'Zend/Gdata/App/Extension/Element.php';
0032 
0033 /**
0034  * Concrete class for working with CCR elements.
0035  *
0036  * @category   Zend
0037  * @package    Zend_Gdata
0038  * @subpackage Health
0039  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
0040  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0041  */
0042 class Zend_Gdata_Health_Extension_Ccr extends Zend_Gdata_App_Extension_Element
0043 {
0044     /**
0045      * Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data
0046      *
0047      * @param DOMElement $element (optional) DOMElement from which this
0048      *          object should be constructed.
0049      */
0050     public function __construct($element = null)
0051     {
0052         throw new Zend_Exception(
0053             'Google Health API has been discontinued by Google and was removed'
0054             . ' from Zend Framework in 1.12.0.  For more information see: '
0055             . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
0056         );
0057     }
0058 }