API Documentation

Gdata/Health/Query.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Health
version
$Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Health_Query

Description

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.

Zend_Gdata_Health_Query

Extends from
Zend_Gdata_Query
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
link
http://code.google.com/apis/health
package
Zend_Gdata
subpackage
Health
Constants
HEALTH_PROFILE_FEED_URI
HEALTH_REGISTER_FEED_URI
ITEM_CATEGORY_NS
Properties
$_defaultFeedUri
Methods
setDigest
getDigest
setCategory
getCategory
setGrouped
getGrouped
setMaxResultsGroup
getMaxResultsGroup
setMaxResultsInGroup
getMaxResultsInGroup
setStartIndexGroup
getStartIndexGroup
setStartIndexInGroup
getStartIndexInGroup

Description

Assists in constructing queries for Google Health

Constants

HEALTH_PROFILE_FEED_URI

 HEALTH_PROFILE_FEED_URI = 'https://www.google.com/health/feeds/profile/default'

URI of a user's profile feed.

Details

value
https://www.google.com/health/feeds/profile/default

HEALTH_REGISTER_FEED_URI

 HEALTH_REGISTER_FEED_URI = 'https://www.google.com/health/feeds/register/default'

URI of register (notices) feed.

Details

value
https://www.google.com/health/feeds/register/default

ITEM_CATEGORY_NS

 ITEM_CATEGORY_NS = 'http://schemas.google.com/health/item'

Namespace for an item category

Details

value
http://schemas.google.com/health/item

Properties

$_defaultFeedUri

string $_defaultFeedUri = 'self'

The default URI for POST methods

Details

$_defaultFeedUri
string
visibility
protected
default
self
final
false
static
false

Methods

getCategory

getCategory( ) : string

Returns the query object's category.

Output
string
id
Details
visibility
public
final
false
static
false

getDigest

getDigest( ) : string

Returns the digest parameter's value.

Output
string
The value set for the digest parameter.
Details
visibility
public
final
false
static
false

getGrouped

getGrouped( ) : string

Returns the value set for the grouped parameter.

Output
string
grouped parameter.
Details
visibility
public
final
false
static
false

getMaxResultsGroup

getMaxResultsGroup( ) : int

Returns the value set for max-results-group.

Output
int
Returns max-results-group parameter.
Details
visibility
public
final
false
static
false

getMaxResultsInGroup

getMaxResultsInGroup( ) : int

Returns the value set for max-results-in-group.

Output
int
Returns max-results-in-group parameter.
Details
visibility
public
final
false
static
false

getStartIndexGroup

getStartIndexGroup( ) : int

Returns the value set for start-index-group.

Output
int
Returns start-index-group parameter.
Details
visibility
public
final
false
static
false

getStartIndexInGroup

getStartIndexInGroup( ) : int

Returns the value set for start-index-in-group.

Output
int
Returns start-index-in-group parameter.
Details
visibility
public
final
false
static
false

setCategory

setCategory( string $item, string $name = null ) : Zend_Gdata_Health_Query

Setter for category queries.

Arguments
$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'.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setDigest

setDigest( string $value ) : Zend_Gdata_Health_Query

Sets the digest parameter's value.

Arguments
$value
string
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setGrouped

setGrouped( string $value ) : Zend_Gdata_Health_Query

Setter for the grouped parameter.

Arguments
$value
string
setting a count of results per group.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setMaxResultsGroup

setMaxResultsGroup( int $value ) : Zend_Gdata_Health_Query

Setter for the max-results-group parameter.

Arguments
$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.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setMaxResultsInGroup

setMaxResultsInGroup( int $value ) : Zend_Gdata_Health_Query

Setter for the max-results-group parameter.

Arguments
$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.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setStartIndexGroup

setStartIndexGroup( int $value ) : Zend_Gdata_Health_Query

Setter for the start-index-group parameter.

Arguments
$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.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false

setStartIndexInGroup

setStartIndexInGroup( int $value ) : Zend_Gdata_Health_Query

Setter for the start-index-in-group parameter.

Arguments
$value
int
A 1-based index of the records to be retrieved from each group. This parameter is only valid if grouped=true.
Output
Zend_Gdata_Health_Query
Provides a fluent interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.