Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Health_Query Class Reference
Inheritance diagram for Zend_Gdata_Health_Query:
Collaboration diagram for Zend_Gdata_Health_Query:

Public Member Functions

 setDigest ($value)
 getDigest ()
 setCategory ($item, $name=null)
 getCategory ()
 setGrouped ($value)
 getGrouped ()
 setMaxResultsGroup ($value)
 getMaxResultsGroup ()
 setMaxResultsInGroup ($value)
 getMaxResultsInGroup ()
 setStartIndexGroup ($value)
 getStartIndexGroup ()
 setStartIndexInGroup ($value)
 getStartIndexInGroup ()

Data Fields

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

Protected Attributes

 $_defaultFeedUri = self::HEALTH_PROFILE_FEED_URI

Detailed Description

Definition at line 40 of file Query.php.


Member Function Documentation

Returns the query object's category.

Returns:
string id

Reimplemented from Zend_Gdata_Query.

Definition at line 114 of file Query.php.

getDigest ( )

Returns the digest parameter's value.

Returns:
string The value set for the digest parameter.

Definition at line 85 of file Query.php.

Returns the value set for the grouped parameter.

Returns:
string grouped parameter.

Definition at line 138 of file Query.php.

Here is the caller graph for this function:

Returns the value set for max-results-group.

Returns:
int Returns max-results-group parameter.

Definition at line 175 of file Query.php.

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

Returns:
int Returns max-results-in-group parameter.

Definition at line 212 of file Query.php.

Returns the value set for start-index-group.

Returns:
int Returns start-index-group parameter.

Definition at line 246 of file Query.php.

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

Returns:
int Returns start-index-in-group parameter.

Definition at line 277 of file Query.php.

setCategory ( item,
name = null 
)

Setter for category queries.

Parameters:
string$itemA category to query.
string$name(optional) A specific item to search a category for. An example would be 'Lipitor' if $item is set to 'medication'.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 102 of file Query.php.

setDigest ( value)

Sets the digest parameter's value.

Parameters:
string$value
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 72 of file Query.php.

setGrouped ( value)

Setter for the grouped parameter.

Parameters:
string$valuesetting a count of results per group.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 125 of file Query.php.

setMaxResultsGroup ( value)

Setter for the max-results-group parameter.

Parameters:
int$valueSpecifies the maximum number of groups to be retrieved. Must be an integer value greater than zero. This parameter is only valid if grouped=true.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 155 of file Query.php.

Here is the call graph for this function:

setMaxResultsInGroup ( value)

Setter for the max-results-group parameter.

Parameters:
int$valueSpecifies 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.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 193 of file Query.php.

Here is the call graph for this function:

setStartIndexGroup ( value)

Setter for the start-index-group parameter.

Parameters:
int$valueRetrieves 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.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 230 of file Query.php.

Here is the call graph for this function:

setStartIndexInGroup ( value)

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

Parameters:
int$valueA 1-based index of the records to be retrieved from each group. This parameter is only valid if grouped=true.
Returns:
Zend_Gdata_Health_Query Provides a fluent interface

Definition at line 262 of file Query.php.

Here is the call graph for this function:


Field Documentation

$_defaultFeedUri = self::HEALTH_PROFILE_FEED_URI [protected]

Reimplemented from Zend_Gdata_Query.

Definition at line 64 of file Query.php.

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

URI of a user's profile feed.

Definition at line 45 of file Query.php.

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

URI of register (notices) feed.

Definition at line 51 of file Query.php.

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

Namespace for an item category

Definition at line 57 of file Query.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations