Class: iHRIS Currency: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes the class ''iHRIS_Currency''. | This article describes the class ''iHRIS_Currency''. | ||
*Extends the class: [[Class: I2CE_List | I2CE_List]]. | *Extends the class: [[Class: I2CE_List | I2CE_List]]. | ||
*Location: Part of the module [[iHRIS Module List#Currency|Currency]] in the package [https://launchpad.net/ihris-common iHRIS Common] | *Location: Part of the module [[iHRIS Common Module List#Currency|Currency]] in the package [https://launchpad.net/ihris-common iHRIS Common] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.0.0-release/annotate/head:/modules/Currency/lib/iHRIS_Currency.php modules/Currency/lib/iHRIS_Currency.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.0.0-release/annotate/head:/modules/Currency/lib/iHRIS_Currency.php modules/Currency/lib/iHRIS_Currency.php] | ||
*Author: Luke Duncan <lduncan@intrahealth.org> | *Author: Luke Duncan <lduncan@intrahealth.org> |
Revision as of 12:11, 19 October 2009
This article describes the class iHRIS_Currency.
- Extends the class: I2CE_List.
- Location: Part of the module Currency in the package iHRIS Common
- Source: Defined in the file modules/Currency/lib/iHRIS_Currency.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with currency codes.
Form Fields
This class is a form class and provides the following form fields
code
The form field code is implemented by STRING_LINE
name
The form field name is implemented by STRING_LINE
country
The form field country is implemented by MAP
symbol
The form field symbol is implemented by STRING_LINE
Constants
iHRIS_Currency::MAIN_FIELD
The main field name used for display a description of a record. Defined as: "code"
iHRIS_Currency::SEC_FIELD
The secondary field name used for displaying a description of a record in combination with the MAIN_FIELD. Defined as: "symbol"