Class: iHRIS Currency: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]] | This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]] | ||
==code== | ==code== | ||
The form field ''code'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==name== | ==name== | ||
The form field ''name'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==country== | ==country== | ||
The form field ''country'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==symbol== | ==symbol== | ||
The form field ''symbol'' is implemented by [[Class: I2CE_FormField_STRING_LINE |STRING_LINE ]] | |||
==Constants== | ==Constants== | ||
===iHRIS_Currency::MAIN_FIELD=== | ===iHRIS_Currency::MAIN_FIELD=== |
Revision as of 12:49, 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"