API Documentation

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

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_Extension_Ccr

Extends from
Zend_Gdata_App_Extension_Element
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
Properties
$_rootNamespace
$_rootElement
$_ccrDom
Methods
__construct
transferFromDOM
getDOM
__call

Description

Concrete class for working with CCR elements.

Properties

$_ccrDom

 $_ccrDom = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_rootElement

 $_rootElement = 'ContinuityOfCareRecord'

Details

visibility
protected
default
ContinuityOfCareRecord
final
false
static
false

$_rootNamespace

 $_rootNamespace = 'ccr'

Details

visibility
protected
default
ccr
final
false
static
false

Methods

__call

__call( string $name, unknown $args ) : array.<DOMElement>

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.

Arguments
$name
string
Name of the function to call
$args
unknown
Output
array.<DOMElement>
A list of the appropriate CCR data
Details
visibility
public
final
false
static
false

__construct

__construct( DOMElement $element = null ) :

Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data

Arguments
$element
DOMElement
(optional) DOMElement from which this object should be constructed.
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 sending to the server upon updates, or 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

transferFromDOM

transferFromDOM( DOMNode $node ) :

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.

Arguments
$node
DOMNode
The DOMNode that represents this object&#039;s data
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.