Class: iHRIS Benefit
From IHRIS Wiki
This article describes the class iHRIS_Benefit.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-manage-Benefit in the package iHRIS Manage
- Source: Defined in the file modules/Benefit/lib/iHRIS_Benefit.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@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:
- I2CE_Template &$page