Class: iHRIS Module Accident (4.0.4)
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.4-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 46
- Signature: public function action_accident($obj)
- Parameters:
- $obj
getAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 125
- Signature: static public function getAccidents($person,$only_active)
- Parameters:
- $person
- $only_active
- Default Value: true
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 169
- Signature: protected function postUpdateAccidentTypeFields()
preUpgradeAccidentTypeFields()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 159
- 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 64
- 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 104
- 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 99
- Signature: public function showAllAccidents($node,$template)
- Parameters:
- $node
- $template
showCurrentAccidents()
- Defined in manage/modules/Accident/lib/iHRIS_Module_Accident.php on line 95
- 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 83
- Signature: public function upgrade($old_vers,$new_vers)
- Parameters:
- Returns: boolean
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()
getHooks()
This public method is inherited from I2CE_Module->getHooks()
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()