API Documentation

Gdata/Health/ProfileEntry.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: ProfileEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Health_ProfileEntry

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_ProfileEntry

Extends from
Zend_Gdata_Entry
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
Properties
$_entryClassName
$_ccrData
Methods
__construct
getDOM
takeChildFromDOM
setCcr
getCcr

Description

Concrete class for working with Health profile entries.

Properties

$_ccrData

Zend_Gdata_Health_Extension_Ccr $_ccrData = 'null'

Google Health CCR data

Details

$_ccrData
Zend_Gdata_Health_Extension_Ccr
visibility
protected
default
null
final
false
static
false

$_entryClassName

string $_entryClassName = 'Zend_Gdata_Health_ProfileEntry'

The classname for individual profile entry elements.

Details

$_entryClassName
string
visibility
protected
default
Zend_Gdata_Health_ProfileEntry
final
false
static
false

Methods

__construct

__construct( DOMElement $element = null ) :

Constructs a new Zend_Gdata_Health_ProfileEntry object.

Arguments
$element
DOMElement
(optional) The DOMElement on which to base this object.
Details
visibility
public
final
false
static
false

getCcr

getCcr( ) : Zend_Gdata_Health_Extension_Ccr

Returns all the CCR data in a profile entry

Details
visibility
public
final
false
static
false

getDOM

getDOM( DOMDocument $doc = null,  $majorVersion = 1,  $minorVersion = null ) : DOMElement

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for application storage/persistence.

Arguments
$doc
DOMDocument
The DOMDocument used to construct DOMElements
$majorVersion
$minorVersion
Output
DOMElement
The DOMElement representing this element and all child properties.
Details
visibility
public
final
false
static
false

setCcr

setCcr( string $ccrXMLStr ) : Zend_Gdata_Health_Extension_Ccr

Sets the profile entry's CCR data

Arguments
$ccrXMLStr
string
The CCR as an xml string
Details
visibility
public
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

Arguments
$child
DOMNode
The DOMNode to process
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.