Class: iHRIS Module Accident (4.1.6)
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.1.6-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 149
- 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 193
- Signature: protected function postUpdateAccidentTypeFields()
preUpgradeAccidentTypeFields()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 183
- 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 88
- 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 128
- 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 123
- Signature: public function showAllAccidents($node,$template)
- Parameters:
- $node
- $template
showCurrentAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 119
- 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 107
- 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 71
- 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()