Class: iHRIS DisciplinaryAction: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
This article describes the class ''iHRIS_DisciplinaryAction''.
This article describes the class ''iHRIS_DisciplinaryAction''.
*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_DisciplinaryAction.php lib/iHRIS_DisciplinaryAction.php]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/qualify/4.0.-release/annotate/head:/lib/iHRIS_DisciplinaryAction.php lib/iHRIS_DisciplinaryAction.php]
*Author: Luke Duncan <lduncan@intrahealth.org>
*Author: Luke Duncan <lduncan@intrahealth.org>

Revision as of 12:11, 19 October 2009

This article describes the class iHRIS_DisciplinaryAction.

@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: