[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
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: Health.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 31 */ 32 require_once 'Zend/Gdata.php'; 33 34 /** 35 * Service class for interacting with the Google Health Data API 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 extends Zend_Gdata 46 { 47 /** 48 * URIs of the AuthSub/OAuth feeds. 49 */ 50 const AUTHSUB_PROFILE_FEED_URI = 51 'https://www.google.com/health/feeds/profile/default'; 52 const AUTHSUB_REGISTER_FEED_URI = 53 'https://www.google.com/health/feeds/register/default'; 54 55 /** 56 * URIs of the ClientLogin feeds. 57 */ 58 const CLIENTLOGIN_PROFILELIST_FEED_URI = 59 'https://www.google.com/health/feeds/profile/list'; 60 const CLIENTLOGIN_PROFILE_FEED_URI = 61 'https://www.google.com/health/feeds/profile/ui'; 62 const CLIENTLOGIN_REGISTER_FEED_URI = 63 'https://www.google.com/health/feeds/register/ui'; 64 65 /** 66 * Authentication service names for Google Health and the H9 Sandbox. 67 */ 68 const HEALTH_SERVICE_NAME = 'health'; 69 const H9_SANDBOX_SERVICE_NAME = 'weaver'; 70 71 /** 72 * Create Zend_Gdata_Health object 73 * 74 * @param Zend_Http_Client $client (optional) The HTTP client to use when 75 * when communicating with the Google Health servers. 76 * @param string $applicationId The identity of the application in the form 77 * of Company-AppName-Version 78 * @param bool $useH9Sandbox True if the H9 Developer's Sandbox should be 79 * used instead of production Google Health. 80 */ 81 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0', $useH9Sandbox = false) 82 { 83 throw new Zend_Exception( 84 'Google Health API has been discontinued by Google and was removed' 85 . ' from Zend Framework in 1.12.0. For more information see: ' 86 . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html' 87 ); 88 } 89 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |