Class: iHRIS Benefit

From IHRIS Wiki
Revision as of 12:11, 19 October 2009 by Litlfred (talk | contribs)

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: