[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id$ |
File Size: | 274 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Gdata_Health:: (7 methods):
__construct()
getProfileID()
setProfileID()
getHealthProfileListFeed()
getHealthProfileFeed()
getHealthProfileEntry()
sendHealthNotice()
Class: Zend_Gdata_Health - X-Ref
Service class for interacting with the Google Health Data API__construct($client = null, $applicationId = 'MyCompany-MyApp-1.0', $useH9Sandbox = false) X-Ref |
Create Zend_Gdata_Health object param: Zend_Http_Client $client (optional) The HTTP client to use when param: string $applicationId The identity of the application in the form param: bool $useH9Sandbox True if the H9 Developer's Sandbox should be |
getProfileID() X-Ref |
Gets the id of the user's profile return: string The profile id |
setProfileID($id) X-Ref |
Sets which of the user's profiles will be used param: string $id The profile ID return: Zend_Gdata_Health Provides a fluent interface |
getHealthProfileListFeed($query = null) X-Ref |
Retrieves the list of profiles associated with the user's ClientLogin credentials. param: string $query The query of the feed as a URL or Query object return: Zend_Gdata_Feed |
getHealthProfileFeed($query = null) X-Ref |
Retrieve a user's profile as a feed object. If ClientLogin is used, the profile associated with $this->_profileID is returned, otherwise the profile associated with the AuthSub token is read. param: mixed $query The query for the feed, as a URL or Query return: Zend_Gdata_Health_ProfileFeed |
getHealthProfileEntry($query = null) X-Ref |
Retrieve a profile entry object param: mixed $query The query for the feed, as a URL or Query return: Zend_Gdata_Health_ProfileEntry |
sendHealthNotice($subject, $body, $bodyType = null, $ccrXML = null) X-Ref |
Posts a new notice using the register feed. This function constructs the atom profile entry. param: string $subject The subject line of the notice param: string $body The message body of the notice param: string $bodyType The (optional) type of message body param: string $ccrXML The (optional) CCR to add to the user's profile return: Zend_Gdata_Health_ProfileEntry |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |