Class Zend_Gdata_Health_Extension_Ccr

Description

Concrete class for working with CCR elements.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Gdata/Health/Extension/Ccr.php (line 37)

Zend_Gdata_App_Base
   |
   --Zend_Gdata_App_Extension
      |
      --Zend_Gdata_App_Extension_Element
         |
         --Zend_Gdata_Health_Extension_Ccr
Variable Summary
Method Summary
 Zend_Gdata_Health_Extension_Ccr __construct ([DOMElement $element = null])
 DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
 void transferFromDOM (DOMNode $node)
 array. __call (string $name, unknown $args)
Variables
mixed $_ccrDom = null (line 41)
  • access: protected
mixed $_rootElement = 'ContinuityOfCareRecord' (line 40)
  • access: protected

Redefinition of:
Zend_Gdata_App_Base::$_rootElement
mixed $_rootNamespace = 'ccr' (line 39)
  • access: protected

Redefinition of:
Zend_Gdata_App_Base::$_rootNamespace

Inherited Variables

Inherited from Zend_Gdata_App_Base

Zend_Gdata_App_Base::$_extensionAttributes
Zend_Gdata_App_Base::$_extensionElements
Zend_Gdata_App_Base::$_namespaceLookupCache
Zend_Gdata_App_Base::$_namespaces
Zend_Gdata_App_Base::$_rootNamespaceURI
Zend_Gdata_App_Base::$_text
Methods
Constructor __construct (line 49)

Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data

  • access: public
Zend_Gdata_Health_Extension_Ccr __construct ([DOMElement $element = null])
  • DOMElement $element: (optional) DOMElement from which this object should be constructed.

Redefinition of:
Zend_Gdata_App_Extension_Element::__construct()
getDOM (line 78)

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 sending to the server upon updates, or for application storage/persistence.

  • return: The DOMElement representing this element and all child properties.
  • access: public
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
  • DOMDocument $doc: The DOMDocument used to construct DOMElements
  • $majorVersion
  • $minorVersion

Redefinition of:
Zend_Gdata_App_Base::getDOM()
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 sending to the server upon updates, or for application storage/persistence.
transferFromDOM (line 63)

Transfers each child and attribute into member variables.

This is called when XML is received over the wire and the data model needs to be built to represent this XML.

  • access: public
void transferFromDOM (DOMNode $node)
  • DOMNode $node: The DOMNode that represents this object's data

Redefinition of:
Zend_Gdata_App_Extension_Element::transferFromDOM()
__call (line 98)

Magic helper that allows drilling down and returning specific elements

in the CCR. For example, to retrieve the users medications (/ContinuityOfCareRecord/Body/Medications) from the entry's CCR, call $entry->getCcr()->getMedications(). Similarly, getConditions() would return extract the user's conditions.

  • return: A list of the appropriate CCR data
  • access: public
array. __call (string $name, unknown $args)
  • string $name: Name of the function to call
  • unknown $args

Inherited Methods

Inherited From Zend_Gdata_App_Extension_Element

 Zend_Gdata_App_Extension_Element::__construct()
 Zend_Gdata_App_Extension_Element::transferFromDOM()

Inherited From Zend_Gdata_App_Base

 Zend_Gdata_App_Base::__construct()
 Zend_Gdata_App_Base::encode()
 Zend_Gdata_App_Base::flushNamespaceLookupCache()
 Zend_Gdata_App_Base::getDOM()
 Zend_Gdata_App_Base::getExtensionAttributes()
 Zend_Gdata_App_Base::getExtensionElements()
 Zend_Gdata_App_Base::getText()
 Zend_Gdata_App_Base::getXML()
 Zend_Gdata_App_Base::lookupNamespace()
 Zend_Gdata_App_Base::registerAllNamespaces()
 Zend_Gdata_App_Base::registerNamespace()
 Zend_Gdata_App_Base::saveXML()
 Zend_Gdata_App_Base::setExtensionAttributes()
 Zend_Gdata_App_Base::setExtensionElements()
 Zend_Gdata_App_Base::setText()
 Zend_Gdata_App_Base::takeAttributeFromDOM()
 Zend_Gdata_App_Base::takeChildFromDOM()
 Zend_Gdata_App_Base::transferFromDOM()
 Zend_Gdata_App_Base::transferFromXML()
 Zend_Gdata_App_Base::__get()
 Zend_Gdata_App_Base::__isset()
 Zend_Gdata_App_Base::__set()
 Zend_Gdata_App_Base::__toString()
 Zend_Gdata_App_Base::__unset()

Documentation generated on Mon, 21 Jun 2010 15:11:01 -0400 by phpDocumentor 1.4.3