summaryrefslogtreecommitdiff
path: root/zend/library/Zend/Gdata/Health
diff options
context:
space:
mode:
authorHorus32014-02-24 16:42:14 +0100
committerHorus32014-02-24 16:42:14 +0100
commit06f945f27840b53e57795dadbc38e76f7e11ab1c (patch)
tree689d5c7f4ffa15460c7e90f47c6a7dd59ce4e8bd /zend/library/Zend/Gdata/Health
downloadrandom-06f945f27840b53e57795dadbc38e76f7e11ab1c.tar.gz
init
Diffstat (limited to 'zend/library/Zend/Gdata/Health')
-rwxr-xr-xzend/library/Zend/Gdata/Health/Extension/Ccr.php58
-rwxr-xr-xzend/library/Zend/Gdata/Health/ProfileEntry.php59
-rwxr-xr-xzend/library/Zend/Gdata/Health/ProfileFeed.php61
-rwxr-xr-xzend/library/Zend/Gdata/Health/ProfileListEntry.php59
-rwxr-xr-xzend/library/Zend/Gdata/Health/ProfileListFeed.php55
-rwxr-xr-xzend/library/Zend/Gdata/Health/Query.php75
6 files changed, 367 insertions, 0 deletions
diff --git a/zend/library/Zend/Gdata/Health/Extension/Ccr.php b/zend/library/Zend/Gdata/Health/Extension/Ccr.php
new file mode 100755
index 0000000..71d1f82
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/Extension/Ccr.php
@@ -0,0 +1,58 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Ccr.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_App_Extension_Element
+ */
+require_once 'Zend/Gdata/App/Extension/Element.php';
+
+/**
+ * Concrete class for working with CCR elements.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_Extension_Ccr extends Zend_Gdata_App_Extension_Element
+{
+ /**
+ * Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data
+ *
+ * @param DOMElement $element (optional) DOMElement from which this
+ * object should be constructed.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Health/ProfileEntry.php b/zend/library/Zend/Gdata/Health/ProfileEntry.php
new file mode 100755
index 0000000..949b8c8
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/ProfileEntry.php
@@ -0,0 +1,59 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ProfileEntry.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Entry
+ */
+require_once 'Zend/Gdata/Entry.php';
+
+/**
+ * Concrete class for working with Health profile entries.
+ *
+ * @link http://code.google.com/apis/health/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_ProfileEntry extends Zend_Gdata_Entry
+{
+ /**
+ * Constructs a new Zend_Gdata_Health_ProfileEntry object.
+ * @param DOMElement $element (optional) The DOMElement on which to base this object.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Health/ProfileFeed.php b/zend/library/Zend/Gdata/Health/ProfileFeed.php
new file mode 100755
index 0000000..18db6e6
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/ProfileFeed.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ProfileFeed.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Feed
+ */
+require_once 'Zend/Gdata/Feed.php';
+
+/**
+ * Represents a Google Health user's Profile Feed
+ *
+ * @link http://code.google.com/apis/health/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_ProfileFeed extends Zend_Gdata_Feed
+{
+ /**
+ * Creates a Health Profile feed, representing a user's Health profile
+ *
+ * @param DOMElement $element (optional) DOMElement from which this
+ * object should be constructed.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Health/ProfileListEntry.php b/zend/library/Zend/Gdata/Health/ProfileListEntry.php
new file mode 100755
index 0000000..6303bf8
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/ProfileListEntry.php
@@ -0,0 +1,59 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ProfileListEntry.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Entry
+ */
+require_once 'Zend/Gdata/Entry.php';
+
+/**
+ * Concrete class for working with Health profile list entries.
+ *
+ * @link http://code.google.com/apis/health/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_ProfileListEntry extends Zend_Gdata_Entry
+{
+ /**
+ * Constructs a new Zend_Gdata_Health_ProfileListEntry object.
+ * @param DOMElement $element (optional) The DOMElement on which to base this object.
+ */
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Health/ProfileListFeed.php b/zend/library/Zend/Gdata/Health/ProfileListFeed.php
new file mode 100755
index 0000000..36230bc
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/ProfileListFeed.php
@@ -0,0 +1,55 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ProfileListFeed.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Feed
+ */
+require_once 'Zend/Gdata/Feed.php';
+
+/**
+ * Represents a Google Health user's Profile List Feed
+ *
+ * @link http://code.google.com/apis/health/
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_ProfileListFeed extends Zend_Gdata_Feed
+{
+ public function __construct($element = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}
diff --git a/zend/library/Zend/Gdata/Health/Query.php b/zend/library/Zend/Gdata/Health/Query.php
new file mode 100755
index 0000000..aa068f0
--- /dev/null
+++ b/zend/library/Zend/Gdata/Health/Query.php
@@ -0,0 +1,75 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Query.php 24779 2012-05-08 19:13:59Z adamlundrigan $
+ */
+
+/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @see Zend_Gdata_Query
+ */
+require_once('Zend/Gdata/Query.php');
+
+/**
+ * Assists in constructing queries for Google Health
+ *
+ * @link http://code.google.com/apis/health
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Health
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Health_Query extends Zend_Gdata_Query
+{
+ /**
+ * URI of a user's profile feed.
+ */
+ const HEALTH_PROFILE_FEED_URI =
+ 'https://www.google.com/health/feeds/profile/default';
+
+ /**
+ * URI of register (notices) feed.
+ */
+ const HEALTH_REGISTER_FEED_URI =
+ 'https://www.google.com/health/feeds/register/default';
+
+ /**
+ * Namespace for an item category
+ */
+ const ITEM_CATEGORY_NS = 'http://schemas.google.com/health/item';
+
+ /**
+ * Create Gdata_Query object
+ */
+ public function __construct($url = null)
+ {
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
+ }
+}