Class: iHRIS TrainingDisrupt: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes the class ''iHRIS_TrainingDisrupt''. | This article describes the class ''iHRIS_TrainingDisrupt''. | ||
*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_TrainingDisrupt.php lib/iHRIS_TrainingDisrupt.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_TrainingDisrupt.php lib/iHRIS_TrainingDisrupt.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]] | ||
==disruption_reason== | ==disruption_reason== | ||
The form field ''disruption_reason'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==disruption_date== | ==disruption_date== | ||
The form field ''disruption_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==resumption_date== | ==resumption_date== | ||
The form field ''resumption_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==Methods== | ==Methods== | ||
===validate()=== | ===validate()=== |
Revision as of 13:12, 19 October 2009
This article describes the class iHRIS_TrainingDisrupt.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_TrainingDisrupt.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with training disruptions for people.
Form Fields
This class is a form class and provides the following form fields
disruption_reason
The form field disruption_reason is implemented by MAP
disruption_date
The form field disruption_date is implemented by DATE_YMD
resumption_date
The form field resumption_date is implemented by DATE_YMD
Methods
validate()
Validate any extra information other than required fields for training disruptions.
- Signature: public function validate($page)
- Parameters:
- &$page