Class: iHRIS PrivatePractice: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes the class ''iHRIS_PrivatePractice''. | This article describes the class ''iHRIS_PrivatePractice''. | ||
*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_PrivatePractice.php lib/iHRIS_PrivatePractice.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_PrivatePractice.php lib/iHRIS_PrivatePractice.php] | ||
*Author: Luke Duncan <lduncan@intrahealth.org> | *Author: Luke Duncan <lduncan@intrahealth.org> | ||
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 ]] | |||
==inspection_results== | ==inspection_results== | ||
The form field ''inspection_results'' is implemented by [[Class: I2CE_FormField_STRING_MLINE |STRING_MLINE ]] | |||
==inspection_date== | ==inspection_date== | ||
The form field ''inspection_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==health_facility== | ==health_facility== | ||
The form field ''health_facility'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==Methods== | ==Methods== | ||
===validate()=== | ===validate()=== |
Revision as of 12:12, 19 October 2009
This article describes the class iHRIS_PrivatePractice.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_PrivatePractice.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with private practice 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
inspection_results
The form field inspection_results is implemented by STRING_MLINE
inspection_date
The form field inspection_date is implemented by DATE_YMD
health_facility
The form field health_facility is implemented by MAP
Methods
validate()
Perform any extra validation for the license.
- Signature: public function validate($page)
- Parameters:
- I2CE_Template &$page