Class: iHRIS Benefit: Difference between revisions

From IHRIS Wiki
No edit summary
(Redirected page to Class: iHRIS Benefit (4.1.7))
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''iHRIS_Benefit''.
#REDIRECT [[Class: iHRIS_Benefit (4.1.7)]]
*Extends the class: [[Class: I2CE_Form | I2CE_Form]].
*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]
*Author: Luke Duncan <lduncan@intrahealth.org>
*Since: v1.0.0
@copyright Copyright &copy; 2007, 2008 IntraHealth International, Inc.    Object for dealing with benefits.
==Form Fields==
This class is a [[Class: I2CE_Form |form class]] and provides the following [[Class: I2CE_FormField |form fields]]
==type==
The form field ''type'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
==amount==
The form field ''amount'' is implemented by [[Class: iHRIS_FormField_CURRENCY |CURRENCY ]]
==source==
The form field ''source'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
==start_date==
The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
==end_date==
The form field ''end_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]]
==recurrence==
The form field ''recurrence'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]]
==Methods==
===validate()===
Checks to make sure all the required fields are valid.
*Signature: public function validate($page)
*Parameters:
** [[Class: I2CE_Template | I2CE_Template]] &$page
 
 
[[Category:Class Documentation]]

Latest revision as of 08:54, 23 August 2013