equal
deleted
inserted
replaced
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 Health |
18 * @subpackage Health |
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: ProfileListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $ |
21 * @version $Id: ProfileListFeed.php 24779 2012-05-08 19:13:59Z 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/health/ |
37 * @link http://code.google.com/apis/health/ |
33 * |
38 * |
34 * @category Zend |
39 * @category Zend |
35 * @package Zend_Gdata |
40 * @package Zend_Gdata |
36 * @subpackage Health |
41 * @subpackage Health |
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_Health_ProfileListFeed extends Zend_Gdata_Feed |
45 class Zend_Gdata_Health_ProfileListFeed extends Zend_Gdata_Feed |
41 { |
46 { |
42 /** |
47 public function __construct($element = null) |
43 * The class name for individual profile feed elements. |
|
44 * |
|
45 * @var string |
|
46 */ |
|
47 protected $_entryClassName = 'Zend_Gdata_Health_ProfileListEntry'; |
|
48 |
|
49 public function getEntries() |
|
50 { |
48 { |
51 return $this->entry; |
49 throw new Zend_Exception( |
|
50 'Google Health API has been discontinued by Google and was removed' |
|
51 . ' from Zend Framework in 1.12.0. For more information see: ' |
|
52 . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html' |
|
53 ); |
52 } |
54 } |
53 } |
55 } |