Class: iHRIS Module UUID Map (Development): Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
This article describes the class ''iHRIS_Module_UUID_Map'' . | This article describes the class ''iHRIS_Module_UUID_Map'' . | ||
*Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]]. | *Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]]. | ||
*Location: Part of the module [[iHRIS Common Module List (Development)#UUID_map|UUID_map]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4. | *Location: Part of the module [[iHRIS Common Module List (Development)#UUID_map|UUID_map]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4.1-dev | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/iHRIS_Module_UUID_Map.php#L33 modules/UUID/lib/iHRIS_Module_UUID_Map.php] on line 33 | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
*Since: v4.0.0 | *Since: v4.0.0 | ||
Line 10: | Line 10: | ||
===action_initialize()=== | ===action_initialize()=== | ||
Method called when the module is enabled for the first time. @param boolean -- returns true on success. false on error. | Method called when the module is enabled for the first time. @param boolean -- returns true on success. false on error. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/iHRIS_Module_UUID_Map.php#L39 common/modules/UUID/lib/iHRIS_Module_UUID_Map.php] on line 39 | ||
*Signature: public function action_initialize() | *Signature: public function action_initialize() | ||
===addLastModifiedColumn()=== | ===addLastModifiedColumn()=== | ||
Adds the last_modifed column to the uuid_map table if it is not there | Adds the last_modifed column to the uuid_map table if it is not there | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/iHRIS_Module_UUID_Map.php#L68 common/modules/UUID/lib/iHRIS_Module_UUID_Map.php] on line 68 | ||
*Signature: protected function addLastModifiedColumn() | *Signature: protected function addLastModifiedColumn() | ||
*Returns: true<br/>on success | *Returns: true<br/>on success | ||
===hasUUID()=== | ===hasUUID()=== | ||
Checkst to see if the UUID Pecl module is installed | Checkst to see if the UUID Pecl module is installed | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/iHRIS_Module_UUID_Map.php#L88 common/modules/UUID/lib/iHRIS_Module_UUID_Map.php] on line 88 | ||
*Signature: static public function hasUUID() | *Signature: static public function hasUUID() | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | ||
===upgrade()=== | ===upgrade()=== | ||
Upgrade this module if necessary | Upgrade this module if necessary | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/iHRIS_Module_UUID_Map.php#L55 common/modules/UUID/lib/iHRIS_Module_UUID_Map.php] on line 55 | ||
*Signature: public function upgrade($old_vers,$new_vers) | *Signature: public function upgrade($old_vers,$new_vers) | ||
*Parameters: | *Parameters: | ||
Line 42: | Line 42: | ||
===action_enable()=== | ===action_enable()=== | ||
This public method is inherited from [[Class: I2CE_Module (Development)#action_enable() | I2CE_Module->action_enable()]] | This public method is inherited from [[Class: I2CE_Module (Development)#action_enable() | I2CE_Module->action_enable()]] | ||
===getCLIMethods()=== | ===getCLIMethods()=== |
Latest revision as of 08:27, 6 May 2015
This article describes the class iHRIS_Module_UUID_Map .
- Extends the class: I2CE_Module.
- Location: Part of the module UUID_map in the package iHRIS Common 4.1-dev
- Source: Defined in the file modules/UUID/lib/iHRIS_Module_UUID_Map.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.0
@filesource Class iHRIS_Module_UUID_Map
Methods
action_initialize()
Method called when the module is enabled for the first time. @param boolean -- returns true on success. false on error.
- Defined in common/modules/UUID/lib/iHRIS_Module_UUID_Map.php on line 39
- Signature: public function action_initialize()
addLastModifiedColumn()
Adds the last_modifed column to the uuid_map table if it is not there
- Defined in common/modules/UUID/lib/iHRIS_Module_UUID_Map.php on line 68
- Signature: protected function addLastModifiedColumn()
- Returns: true
on success
hasUUID()
Checkst to see if the UUID Pecl module is installed
- Defined in common/modules/UUID/lib/iHRIS_Module_UUID_Map.php on line 88
- Signature: static public function hasUUID()
- Returns: boolean
upgrade()
Upgrade this module if necessary
- Defined in common/modules/UUID/lib/iHRIS_Module_UUID_Map.php on line 55
- 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()
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()
getMethods()
This public method is inherited from I2CE_Module->getMethods()
post_update()
This public method is inherited from I2CE_Module->post_update()
pre_upgrade()
This public method is inherited from I2CE_Module->pre_upgrade()
_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()