[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/Health/Extension/ -> Ccr.php (summary)

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: 124 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Health_Extension_Ccr:: (4 methods):
  __construct()
  transferFromDOM()
  getDOM()
  __call()


Class: Zend_Gdata_Health_Extension_Ccr  - X-Ref

Concrete class for working with CCR elements.

__construct($element = null)   X-Ref
Creates a Zend_Gdata_Health_Extension_Ccr entry, representing CCR data

param: DOMElement $element (optional) DOMElement from which this

transferFromDOM($node)   X-Ref
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.

param: DOMNode $node The DOMNode that represents this object's data

getDOM($doc = null, $majorVersion = 1, $minorVersion = null)   X-Ref
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.

param: DOMDocument $doc The DOMDocument used to construct DOMElements
return: DOMElement The DOMElement representing this element and all

__call($name, $args)   X-Ref
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.

param: string $name Name of the function to call
param: unknown $args
return: array.<DOMElement> A list of the appropriate CCR data



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1