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.
Assists in constructing queries for Google Health
Queries are not defined for APP, but are provided by Gdata services as an extension.
HEALTH_PROFILE_FEED_URI
= 'https://www.google.com/health/feeds/profile/default'
URI of a user's profile feed.
HEALTH_REGISTER_FEED_URI
= 'https://www.google.com/health/feeds/register/default'
URI of register (notices) feed.

__construct(
$url
=
null
)
:
void
Create Gdata_Query object
Inherited from: \Zend_Gdata_Query::__construct()Name | Type | Description |
---|---|---|
$url |

__get(
$name
)
:
void
Name | Type | Description |
---|---|---|
$name |

__set(
$name, $val
)
:
void
Name | Type | Description |
---|---|---|
$name | ||
$val |

getAlt(
)
:
string
Type | Description |
---|---|
string | rss or atom |

getAuthor(
)
:
string
Type | Description |
---|---|
string | author |

getDigest(
)
:
string
Returns the digest parameter's value.
Type | Description |
---|---|
string | The value set for the digest parameter. |

getGrouped(
)
:
string
Returns the value set for the grouped parameter.
Type | Description |
---|---|
string | grouped parameter. |

getMaxResults(
)
:
int
Type | Description |
---|---|
int | maxResults |

getMaxResultsGroup(
)
:
int
Returns the value set for max-results-group.
Type | Description |
---|---|
int | Returns max-results-group parameter. |

getMaxResultsInGroup(
)
:
int
Returns the value set for max-results-in-group.
Type | Description |
---|---|
int | Returns max-results-in-group parameter. |

getParam(
string $name
)
:
void
Name | Type | Description |
---|---|---|
$name | string |

getPublishedMax(
)
:
string
Type | Description |
---|---|
string | publishedMax |

getPublishedMin(
)
:
string
Type | Description |
---|---|
string | publishedMin |

getQuery(
)
:
string
Type | Description |
---|---|
string | query |

getQueryString(
)
:
string
Type | Description |
---|---|
string | querystring |

getQueryUrl(
)
:
string
Type | Description |
---|---|
string | url |

getStartIndex(
)
:
int
Type | Description |
---|---|
int | startIndex |

getStartIndexGroup(
)
:
int
Returns the value set for start-index-group.
Type | Description |
---|---|
int | Returns start-index-group parameter. |

getStartIndexInGroup(
)
:
int
Returns the value set for start-index-in-group.
Type | Description |
---|---|
int | Returns start-index-in-group parameter. |

getUpdatedMax(
)
:
string
Type | Description |
---|---|
string | updatedMax |

getUpdatedMin(
)
:
string
Type | Description |
---|---|
string | updatedMin |

setAlt(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setAuthor(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setCategory(
string $item, string $name
=
null
)
:
\Zend_Gdata_Health_Query
Setter for category queries.
Name | Type | Description |
---|---|---|
$item | string | A category to query. |
$name | string | (optional) A specific item to search a category for. An example would be 'Lipitor' if $item is set to 'medication'. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setDigest(
string $value
)
:
\Zend_Gdata_Health_Query
Sets the digest parameter's value.
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setGrouped(
string $value
)
:
\Zend_Gdata_Health_Query
Setter for the grouped parameter.
Name | Type | Description |
---|---|---|
$value | string | setting a count of results per group. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setMaxResults(
int $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setMaxResultsGroup(
int $value
)
:
\Zend_Gdata_Health_Query
Setter for the max-results-group parameter.
Name | Type | Description |
---|---|---|
$value | int | Specifies the maximum number of groups to be retrieved. Must be an integer value greater than zero. This parameter is only valid if grouped=true. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setMaxResultsInGroup(
int $value
)
:
\Zend_Gdata_Health_Query
Setter for the max-results-group parameter.
Name | Type | Description |
---|---|---|
$value | int | Specifies the maximum number of records to be retrieved from each group. The limits that you specify with this parameter apply to all groups. Must be an integer value greater than zero. This parameter is only valid if grouped=true. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setParam(
string $name, string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$name | string | |
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setPublishedMax(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setPublishedMin(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setQuery(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setStartIndex(
int $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setStartIndexGroup(
int $value
)
:
\Zend_Gdata_Health_Query
Setter for the start-index-group parameter.
Name | Type | Description |
---|---|---|
$value | int | Retrieves only items whose group ranking is at least start-index-group. This should be set to a 1-based index of the first group to be retrieved. The range is applied per category. This parameter is only valid if grouped=true. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setStartIndexInGroup(
int $value
)
:
\Zend_Gdata_Health_Query
Setter for the start-index-in-group parameter.
Name | Type | Description |
---|---|---|
$value | int | A 1-based index of the records to be retrieved from each group. This parameter is only valid if grouped=true. |
Type | Description |
---|---|
\Zend_Gdata_Health_Query | Provides a fluent interface |

setUpdatedMax(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |

setUpdatedMin(
string $value
)
:
\Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |