Class: I2CE FormStorage SDMXHD (Development): Difference between revisions
(Created page with '{{otherversions|Class: I2CE_FormStorage_SDMXHD}} This article describes the class ''I2CE_FormStorage_SDMXHD'' . *Extends the class: [[Class: I2CE_FormStorage_Mechanism (Developme…') |
No edit summary |
||
Line 1: | Line 1: | ||
{{otherversions|Class: I2CE_FormStorage_SDMXHD}} | {{otherversions|Class: I2CE_FormStorage_SDMXHD}} | ||
This article describes the class ''I2CE_FormStorage_SDMXHD'' . | This article describes the class ''I2CE_FormStorage_SDMXHD'' . | ||
*Extends the class: [[Class: | *Extends the class: [[Class: I2CE_FormStorage_XML_BASE (Development) | I2CE_FormStorage_XML_BASE]]. | ||
*Location: Part of the module [[I2CE Module List (Development)#forms-storage-SDMXHD|forms-storage-SDMXHD]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev | *Location: Part of the module [[I2CE Module List (Development)#forms-storage-SDMXHD|forms-storage-SDMXHD]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L35 modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 35 | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L35 modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 35 | ||
Line 10: | Line 10: | ||
@filesource Class I2CE_FormStorage_SDMXHD Storage mechanism for reading SDMX-HD code lists. | @filesource Class I2CE_FormStorage_SDMXHD Storage mechanism for reading SDMX-HD code lists. | ||
==Variables== | ==Variables== | ||
===$ | ===$codelist=== | ||
$var protected array $codelist array of the codelists used index by the form name | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L42 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 42 | |||
*Type: protected $codelist | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php# | |||
*Type: protected | |||
==Methods== | ==Methods== | ||
=== | ===getBaseQuery()=== | ||
Get the xpath query for the base node containing the data | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L73 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 73 | ||
*Signature: | *Signature: protected function getBaseQuery($form) | ||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $form | |||
*Returns: [http://www.php.net/manual/en/language.types.string.php string ] | |||
===getDOMData()=== | |||
Tries to get the DOM Data for the SDMX-HD file | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L50 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 50 | |||
*Signature: protected function getDOMData($form) | |||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $form | |||
*Returns: [http://www.php.net/manual/en/class.domdocument.php DOMDocument ] | |||
===getDataNodesQuery()=== | |||
Get the xpath query for the data nodes relative to the the containing data | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L83 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 83 | |||
*Signature: protected function getDataNodesQuery($form) | |||
*Parameters: | *Parameters: | ||
** [http://www.php.net/manual/en/language.types.string.php string ] $ | ** [http://www.php.net/manual/en/language.types.string.php string ] $form | ||
* | *Returns: [http://www.php.net/manual/en/language.types.string.php string ] | ||
===getFieldDataDesc()=== | |||
=== | Get the field data description for the given form. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L114 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 114 | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php# | *Signature: protected function getFieldDataDesc($form) | ||
*Signature: protected function | |||
*Parameters: | *Parameters: | ||
** [http://www.php.net/manual/en/language.types.string.php string ] $form | ** [http://www.php.net/manual/en/language.types.string.php string ] $form | ||
=== | *Returns: [http://www.php.net/manual/en/language.types.array.php array ]<br/>indexed by field name. | ||
===getNodeIdDescription()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php# | Get the id associated to the given node @param DOMNode $node @param int count | ||
*Signature: protected function | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L103 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 103 | ||
*Signature: protected function getNodeIdDescription($form) | |||
*Parameters: | *Parameters: | ||
** [http://www.php.net/manual/en/language.types.string.php string ] $form | ** [http://www.php.net/manual/en/language.types.string.php string ] $form | ||
*Returns: | *Returns: string.<br/>'0' or null on failure a string on success. | ||
=== | ===getSearchCategory()=== | ||
Get the search category | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php#L92 i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php] on line 92 | ||
*Signature: | *Signature: protected function getSearchCategory($form) | ||
*Parameters: | *Parameters: | ||
** [http://www.php.net/manual/en/language.types.string.php string ] $form | ** [http://www.php.net/manual/en/language.types.string.php string ] $form | ||
*Returns: [http://www.php.net/manual/en/language.types. | *Returns: [http://www.php.net/manual/en/language.types.string.php string ] | ||
==Inherited Methods== | |||
===getRecords()=== | |||
This public method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#getRecords() | I2CE_FormStorage_XML_BASE->getRecords()]] | |||
===isWritable()=== | ===isWritable()=== | ||
This public method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#isWritable() | I2CE_FormStorage_XML_BASE->isWritable()]] | |||
===listDisplayFields()=== | |||
This public method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#listDisplayFields() | I2CE_FormStorage_XML_BASE->listDisplayFields()]] | |||
===listFields()=== | |||
This public method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#listFields() | I2CE_FormStorage_XML_BASE->listFields()]] | |||
===populate()=== | ===populate()=== | ||
This public method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#populate() | I2CE_FormStorage_XML_BASE->populate()]] | |||
===ensureNodeLocations()=== | |||
This protected method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#ensureNodeLocations() | I2CE_FormStorage_XML_BASE->ensureNodeLocations()]] | |||
===getFile()=== | |||
== | This protected method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#getFile() | I2CE_FormStorage_XML_BASE->getFile()]] | ||
===getFormData()=== | |||
This protected method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#getFormData() | I2CE_FormStorage_XML_BASE->getFormData()]] | |||
===getNodeId()=== | |||
This protected method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#getNodeId() | I2CE_FormStorage_XML_BASE->getNodeId()]] | |||
===getNodeLocation()=== | |||
This protected method is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#getNodeLocation() | I2CE_FormStorage_XML_BASE->getNodeLocation()]] | |||
===FF_IG_setSequence()=== | ===FF_IG_setSequence()=== | ||
This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#FF_IG_setSequence() | I2CE_FormStorage_Mechanism->FF_IG_setSequence()]] | This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#FF_IG_setSequence() | I2CE_FormStorage_Mechanism->FF_IG_setSequence()]] | ||
Line 68: | Line 97: | ||
===FF_save()=== | ===FF_save()=== | ||
This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#FF_save() | I2CE_FormStorage_Mechanism->FF_save()]] | This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#FF_save() | I2CE_FormStorage_Mechanism->FF_save()]] | ||
===__construct()=== | |||
This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#__construct() | I2CE_FormStorage_Mechanism->__construct()]] | |||
===delete()=== | ===delete()=== | ||
Line 77: | Line 109: | ||
===getIdsAsChild()=== | ===getIdsAsChild()=== | ||
This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#getIdsAsChild() | I2CE_FormStorage_Mechanism->getIdsAsChild()]] | This public method is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#getIdsAsChild() | I2CE_FormStorage_Mechanism->getIdsAsChild()]] | ||
===lookupDisplayField()=== | ===lookupDisplayField()=== | ||
Line 114: | Line 140: | ||
This public method is inherited from [[Class: I2CE_Fuzzy (Development)#_hasMethod() | I2CE_Fuzzy->_hasMethod()]] | This public method is inherited from [[Class: I2CE_Fuzzy (Development)#_hasMethod() | I2CE_Fuzzy->_hasMethod()]] | ||
==Inherited Variables== | ==Inherited Variables== | ||
===$mod_time=== | |||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#$mod_time | I2CE_FormStorage_XML_BASE->$mod_time]] | |||
===$dom_data=== | |||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#$dom_data | I2CE_FormStorage_XML_BASE->$dom_data]] | |||
===$locations=== | |||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#$locations | I2CE_FormStorage_XML_BASE->$locations]] | |||
===$id_def=== | |||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#$id_def | I2CE_FormStorage_XML_BASE->$id_def]] | |||
===$fieldData=== | |||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_XML_BASE (Development)#$fieldData | I2CE_FormStorage_XML_BASE->$fieldData]] | |||
===$name=== | ===$name=== | ||
Theis protected variable is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#$name | I2CE_FormStorage_Mechanism->$name]] | Theis protected variable is inherited from [[Class: I2CE_FormStorage_Mechanism (Development)#$name | I2CE_FormStorage_Mechanism->$name]] |
Revision as of 07:56, 3 August 2010
This article describes the class I2CE_FormStorage_SDMXHD .
- Extends the class: I2CE_FormStorage_XML_BASE.
- Location: Part of the module forms-storage-SDMXHD in the package I2CE 4.0-dev
- Source: Defined in the file modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 35
- Author: Luke Duncan <lduncan@intrahealth.org>
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.0
@filesource Class I2CE_FormStorage_SDMXHD Storage mechanism for reading SDMX-HD code lists.
Variables
$codelist
$var protected array $codelist array of the codelists used index by the form name
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 42
- Type: protected $codelist
Methods
getBaseQuery()
Get the xpath query for the base node containing the data
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 73
- Signature: protected function getBaseQuery($form)
- Parameters:
- string $form
- Returns: string
getDOMData()
Tries to get the DOM Data for the SDMX-HD file
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 50
- Signature: protected function getDOMData($form)
- Parameters:
- string $form
- Returns: DOMDocument
getDataNodesQuery()
Get the xpath query for the data nodes relative to the the containing data
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 83
- Signature: protected function getDataNodesQuery($form)
- Parameters:
- string $form
- Returns: string
getFieldDataDesc()
Get the field data description for the given form.
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 114
- Signature: protected function getFieldDataDesc($form)
- Parameters:
- string $form
- Returns: array
indexed by field name.
getNodeIdDescription()
Get the id associated to the given node @param DOMNode $node @param int count
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 103
- Signature: protected function getNodeIdDescription($form)
- Parameters:
- string $form
- Returns: string.
'0' or null on failure a string on success.
getSearchCategory()
Get the search category
- Defined in i2ce/modules/Forms/modules/FormStorage/modules/FormStorageSDMXHD/lib/I2CE_FormStorage_SDMXHD.php on line 92
- Signature: protected function getSearchCategory($form)
- Parameters:
- string $form
- Returns: string
Inherited Methods
getRecords()
This public method is inherited from I2CE_FormStorage_XML_BASE->getRecords()
isWritable()
This public method is inherited from I2CE_FormStorage_XML_BASE->isWritable()
listDisplayFields()
This public method is inherited from I2CE_FormStorage_XML_BASE->listDisplayFields()
listFields()
This public method is inherited from I2CE_FormStorage_XML_BASE->listFields()
populate()
This public method is inherited from I2CE_FormStorage_XML_BASE->populate()
ensureNodeLocations()
This protected method is inherited from I2CE_FormStorage_XML_BASE->ensureNodeLocations()
getFile()
This protected method is inherited from I2CE_FormStorage_XML_BASE->getFile()
getFormData()
This protected method is inherited from I2CE_FormStorage_XML_BASE->getFormData()
getNodeId()
This protected method is inherited from I2CE_FormStorage_XML_BASE->getNodeId()
getNodeLocation()
This protected method is inherited from I2CE_FormStorage_XML_BASE->getNodeLocation()
FF_IG_setSequence()
This public method is inherited from I2CE_FormStorage_Mechanism->FF_IG_setSequence()
FF_populateHistory()
This public method is inherited from I2CE_FormStorage_Mechanism->FF_populateHistory()
FF_save()
This public method is inherited from I2CE_FormStorage_Mechanism->FF_save()
__construct()
This public method is inherited from I2CE_FormStorage_Mechanism->__construct()
delete()
This public method is inherited from I2CE_FormStorage_Mechanism->delete()
getFormsById()
This public method is inherited from I2CE_FormStorage_Mechanism->getFormsById()
getIdsAsChild()
This public method is inherited from I2CE_FormStorage_Mechanism->getIdsAsChild()
lookupDisplayField()
This public method is inherited from I2CE_FormStorage_Mechanism->lookupDisplayField()
lookupField()
This public method is inherited from I2CE_FormStorage_Mechanism->lookupField()
populateHistory()
This public method is inherited from I2CE_FormStorage_Mechanism->populateHistory()
save()
This public method is inherited from I2CE_FormStorage_Mechanism->save()
search()
This public method is inherited from I2CE_FormStorage_Mechanism->search()
setStorageOptions()
This public method is inherited from I2CE_FormStorage_Mechanism->setStorageOptions()
compareFormsByFields()
This protected method is inherited from I2CE_FormStorage_Mechanism->compareFormsByFields()
getLimitedFields()
This protected method is inherited from I2CE_FormStorage_Mechanism->getLimitedFields()
getStorageOptions()
This protected method is inherited from I2CE_FormStorage_Mechanism->getStorageOptions()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$mod_time
Theis protected variable is inherited from I2CE_FormStorage_XML_BASE->$mod_time
$dom_data
Theis protected variable is inherited from I2CE_FormStorage_XML_BASE->$dom_data
$locations
Theis protected variable is inherited from I2CE_FormStorage_XML_BASE->$locations
$id_def
Theis protected variable is inherited from I2CE_FormStorage_XML_BASE->$id_def
$fieldData
Theis protected variable is inherited from I2CE_FormStorage_XML_BASE->$fieldData
$name
Theis protected variable is inherited from I2CE_FormStorage_Mechanism->$name
$global_options
Theis protected variable is inherited from I2CE_FormStorage_Mechanism->$global_options
$storage_options_cache
Theis protected variable is inherited from I2CE_FormStorage_Mechanism->$storage_options_cache
$ordering
Theis protected variable is inherited from I2CE_FormStorage_Mechanism->$ordering
Inherited Fuzzy Methods
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()