Class: iHRIS Module Accident (4.0.19)
This article describes the class iHRIS_Module_Accident .
- Extends the class: I2CE_Module.
- Location: Part of the module accident in the package iHRIS Manage 4.0.19-release
- Source: Defined in the file modules/Accident/lib/iHRIS_Module_Accident.php on line 37
- Author: Carl Leitner <litlfred@ibiblio.org>
iHRIS_Module_Accident
Methods
action_accident()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 57
- Signature: public function action_accident($obj)
- Parameters:
- $obj
getAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 150
- Signature: static public function getAccidents($person,$only_active)
- Parameters:
- $person
- $only_active
- Default Value: true
getHooks()
Return the array of hooks available in this module.
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 49
- Signature: static public function getHooks()
- Returns: array
getMethods()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 39
- Signature: static public function getMethods()
postUpdateAccidentTypeFields()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 194
- Signature: protected function postUpdateAccidentTypeFields()
preUpgradeAccidentTypeFields()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 184
- Signature: protected function preUpgradeAccidentTypeFields()
pre_upgrade()
Run the pre upgrade for this module. This can use the old config data before it has been changed from the config.
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 89
- Signature: public function pre_upgrade($old_vers,$new_vers,$new_storage)
- Parameters:
- string $old_vers
- string $new_vers
- I2CE_MagicDataNode $new_storage
- Returns: boolean
showAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 129
- Signature: protected function showAccidents($node,$template,$only_active)
- Parameters:
- $node
- $template
- $only_active
showAllAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 124
- Signature: public function showAllAccidents($node,$template)
- Parameters:
- $node
- $template
showCurrentAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 120
- Signature: public function showCurrentAccidents($node,$template)
- Parameters:
- $node
- $template
upgrade()
Upgrade this module if necessary
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 108
- Signature: public function upgrade($old_vers,$new_vers)
- Parameters:
- Returns: boolean
validate_form_accident()
Checks to make sure the end of applicability is after the start of applicability.
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 70
- Signature: public function validate_form_accident($form)
- Parameters:
- I2CE_Form $form
Inherited Methods
__construct()
This public method is inherited from I2CE_Module->__construct()
action_configure()
This public method is inherited from I2CE_Module->action_configure()
action_disable()
This public method is inherited from I2CE_Module->action_disable()
action_enable()
This public method is inherited from I2CE_Module->action_enable()
action_initialize()
This public method is inherited from I2CE_Module->action_initialize()
getCLIHooks()
This public method is inherited from I2CE_Module->getCLIHooks()
getCLIMethods()
This public method is inherited from I2CE_Module->getCLIMethods()
getConfig()
This public method is inherited from I2CE_Module->getConfig()
post_update()
This public method is inherited from I2CE_Module->post_update()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Fuzzy Methods
launchBackgroundProcess()
This method is inherited from I2CE_Module->launchBackgroundProcess()
launchBackgroundPHPScript()
This method is inherited from I2CE_Module->launchBackgroundPHPScript()
launchBackgroundPage()
This method is inherited from I2CE_Module->launchBackgroundPage()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()