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

Public Member Functions

 __construct ($element=null)
 transferFromDOM ($node)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 __call ($name, $args)

Protected Attributes

 $_rootNamespace = 'ccr'
 $_rootElement = 'ContinuityOfCareRecord'
 $_ccrDom = null

Detailed Description

Definition at line 37 of file Ccr.php.


Constructor & Destructor Documentation

__construct ( element = null)

Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data

Parameters:
DOMElement$element(optional) DOMElement from which this object should be constructed.

Definition at line 49 of file Ccr.php.

Here is the call graph for this function:


Member Function Documentation

__call ( name,
args 
)

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.

Parameters:
string$nameName of the function to call
unknown$args
Returns:
array.<DOMElement> A list of the appropriate CCR data

Definition at line 98 of file Ccr.php.

Here is the call graph for this function:

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

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.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_App_Base.

Definition at line 78 of file Ccr.php.

transferFromDOM ( 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.

Parameters:
DOMNode$nodeThe DOMNode that represents this object's data

Reimplemented from Zend_Gdata_App_Extension_Element.

Definition at line 63 of file Ccr.php.


Field Documentation

$_ccrDom = null [protected]

Definition at line 41 of file Ccr.php.

$_rootElement = 'ContinuityOfCareRecord' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 40 of file Ccr.php.

$_rootNamespace = 'ccr' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 39 of file Ccr.php.


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