[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Gdata/Health/ -> Query.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 Health
  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: Query.php 24779 2012-05-08 19:13:59Z adamlundrigan $
  22   */
  23  
  24  /**
  25   * @see Zend_Exception
  26   */
  27  require_once  'Zend/Exception.php';
  28  
  29  /**
  30   * @see Zend_Gdata_Query
  31   */
  32  require_once ('Zend/Gdata/Query.php');
  33  
  34  /**
  35   * Assists in constructing queries for Google Health
  36   *
  37   * @link http://code.google.com/apis/health
  38   *
  39   * @category   Zend
  40   * @package    Zend_Gdata
  41   * @subpackage Health
  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_Health_Query extends Zend_Gdata_Query
  46  {
  47      /**
  48       * URI of a user's profile feed.
  49       */
  50      const HEALTH_PROFILE_FEED_URI =
  51          'https://www.google.com/health/feeds/profile/default';
  52  
  53      /**
  54       * URI of register (notices) feed.
  55       */
  56      const HEALTH_REGISTER_FEED_URI =
  57          'https://www.google.com/health/feeds/register/default';
  58  
  59      /**
  60       * Namespace for an item category
  61       */
  62      const ITEM_CATEGORY_NS = 'http://schemas.google.com/health/item';
  63      
  64      /**
  65       * Create Gdata_Query object
  66       */
  67      public function __construct($url = null)
  68      {
  69          throw new Zend_Exception(
  70              'Google Health API has been discontinued by Google and was removed'
  71              . ' from Zend Framework in 1.12.0.  For more information see: '
  72              . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
  73          );
  74      }
  75  }


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