Class: iHRIS DisciplinaryAction: 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]] | ||
==disciplinary_action_reason== | ==disciplinary_action_reason== | ||
The form field ''disciplinary_action_reason'' is implemented by [[Class: I2CE_FormField_MAP |MAP ]] | |||
==action_date== | ==action_date== | ||
The form field ''action_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==notes== | ==notes== | ||
The form field ''notes'' is implemented by [[Class: I2CE_FormField_STRING_TEXT |STRING_TEXT ]] | |||
==suspend== | ==suspend== | ||
The form field ''suspend'' is implemented by [[Class: I2CE_FormField_YESNO |YESNO ]] | |||
==reinstate_date== | ==reinstate_date== | ||
The form field ''reinstate_date'' is implemented by [[Class: I2CE_FormField_DATE_YMD |DATE_YMD ]] | |||
==Methods== | ==Methods== | ||
===validate()=== | ===validate()=== |
Revision as of 11:49, 19 October 2009
This article describes the class iHRIS_DisciplinaryAction.
- Extends the class: I2CE_Form.
- Location: Part of the module ihris-qualify in the package iHRIS Qualify
- Source: Defined in the file lib/iHRIS_DisciplinaryAction.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v1.0.0
@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with disciplinary actions.
Form Fields
This class is a form class and provides the following form fields
disciplinary_action_reason
The form field disciplinary_action_reason is implemented by MAP
action_date
The form field action_date is implemented by DATE_YMD
notes
The form field notes is implemented by STRING_TEXT
suspend
The form field suspend is implemented by YESNO
reinstate_date
The form field reinstate_date is implemented by DATE_YMD
Methods
validate()
Perform any extra validation for the disciplinary action.
- Signature: public function validate($page)
- Parameters:
- I2CE_Template &$page