Class: iHRIS License: 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]] | ||
==license_number== | ==license_number== | ||
The form field ''license_number'' is implemented by [[Class: I2CE_FormField_INT_GENERATE |INT_GENERATE ]] | |||
==start_date== | ==start_date== | ||
The form field ''start_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==end_date== | ==end_date== | ||
The form field ''end_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==suspend== | ==suspend== | ||
The form field ''suspend'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]] | |||
==Methods== | ==Methods== | ||
===validate()=== | ===validate()=== |
Revision as of 12:50, 19 October 2009
This article describes the class iHRIS_License.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_License.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with licenses.
Form Fields
This class is a form class and provides the following form fields
license_number
The form field license_number is implemented by INT_GENERATE
start_date
The form field start_date is implemented by DATE_YMD
end_date
The form field end_date is implemented by DATE_YMD
suspend
The form field suspend is implemented by YESNO
Methods
validate()
Perform any extra validation for the license.
- Signature: public function validate($page)
- Parameters:
- I2CE_Template &$page