Class: iHRIS License: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes the class ''iHRIS_License''. | This article describes the class ''iHRIS_License''. | ||
*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-qualify|ihris-qualify]] in the package [https://launchpad.net/qualify iHRIS Qualify] | *Location: Part of the module [[iHRIS Qualify Module List#ihris-qualify|ihris-qualify]] in the package [https://launchpad.net/qualify iHRIS Qualify] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_License.php lib/iHRIS_License.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_License.php lib/iHRIS_License.php] | ||
*Author: Luke Duncan <lduncan@intrahealth.org> | *Author: Luke Duncan <lduncan@intrahealth.org> |
Revision as of 13:11, 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