Class: iHRIS Benefit: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
This article describes the class ''iHRIS_Benefit''.
This article describes the class ''iHRIS_Benefit''.
*Extends the class: [[Class: I2CE_Form | I2CE_Form]].
*Extends the class: [[Class: I2CE_Form | I2CE_Form]].
*Location: Part of the module [[iHRIS Module List#ihris-manage-Benefit|ihris-manage-Benefit]] in the package [https://launchpad.net/ihris-manage iHRIS Manage]
*Location: Part of the module [[iHRIS Manage Module List#ihris-manage-Benefit|ihris-manage-Benefit]] in the package [https://launchpad.net/ihris-manage iHRIS Manage]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-manage/4.0.0-release/annotate/head:/modules/Benefit/lib/iHRIS_Benefit.php modules/Benefit/lib/iHRIS_Benefit.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-manage/4.0.0-release/annotate/head:/modules/Benefit/lib/iHRIS_Benefit.php modules/Benefit/lib/iHRIS_Benefit.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_Benefit.

@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with benefits.

Form Fields

This class is a form class and provides the following form fields

type

The form field type is implemented by MAP

amount

The form field amount is implemented by CURRENCY

source

The form field source is implemented by MAP

start_date

The form field start_date is implemented by DATE_YMD

end_date

The form field end_date is implemented by DATE_YMD

recurrence

The form field recurrence is implemented by MAP

Methods

validate()

Checks to make sure all the required fields are valid.

  • Signature: public function validate($page)
  • Parameters: