Class: I2CE Module UserAccess (Development): Difference between revisions

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Module_UserAccess}} This article describes the class ''I2CE_Module_UserAccess'' . *Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Module_UserAccess'' .
This article describes the class ''I2CE_Module_UserAccess'' .
*Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]].
*Extends the class: [[Class: I2CE_Module (Development) | I2CE_Module]].
*Location: Part of the module [[I2CE Module List (Development)#UserAccess|UserAccess]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#UserAccess|UserAccess]] in the package [https://launchpad.net/i2ce I2CE] 4.1-dev
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L33 modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 33
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L33 modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 33
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
*Since: v4.0.3
*Since: v4.0.3
Line 10: Line 10:
===action_initialize()===
===action_initialize()===
Method called when the module is enabled for the first time.
Method called when the module is enabled for the first time.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L78 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 78
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L78 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 78
*Signature: public function action_initialize()
*Signature: public function action_initialize()
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]<br/>returns true on success. false on error.
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]<br/>returns true on success. false on error.
===createAdminUser()===
===createAdminUser()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L140 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 140
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L142 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 142
*Signature: protected function createAdminUser()
*Signature: protected function createAdminUser()
===ensureDefaultOptions()===
===ensureDefaultOptions()===
ensrure default options are set
ensrure default options are set
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L40 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 40
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L40 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 40
*Signature: static public function ensureDefaultOptions($options)
*Signature: static public function ensureDefaultOptions($options)
*Parameters:
*Parameters:
Line 25: Line 25:
===post_update()===
===post_update()===
Post module update.
Post module update.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L132 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 132
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L134 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 134
*Signature: public function post_update($old_version,$new_version)
*Signature: public function post_update($old_version,$new_version)
*Parameters:
*Parameters:
Line 31: Line 31:
**$new_version  
**$new_version  
===updateAccessTable()===
===updateAccessTable()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L174 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 174
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L189 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 189
*Signature: protected function updateAccessTable()
*Signature: protected function updateAccessTable()
===updateUserDetailTable()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L220 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 220
*Signature: protected function updateUserDetailTable()
===updateUserLogTable()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L203 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 203
*Signature: protected function updateUserLogTable()
===upgrade()===
===upgrade()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L165 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 165
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php#L167 i2ce/modules/User/modules/UserAccess/lib/I2CE_Module_UserAccess.php] on line 167
*Signature: public function upgrade($old_vers,$new_vers)
*Signature: public function upgrade($old_vers,$new_vers)
*Parameters:
*Parameters:
Line 51: Line 57:
===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()]]
===getCLIHooks()===
This public method is inherited from [[Class: I2CE_Module (Development)#getCLIHooks() | I2CE_Module->getCLIHooks()]]


===getCLIMethods()===
===getCLIMethods()===

Latest revision as of 08:16, 6 May 2015


This article describes the class I2CE_Module_UserAccess .

@filesource Class I2CE_Module_UserAccess

Methods

action_initialize()

Method called when the module is enabled for the first time.

createAdminUser()

ensureDefaultOptions()

ensrure default options are set

post_update()

Post module update.

updateAccessTable()

updateUserDetailTable()

updateUserLogTable()

upgrade()

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()

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()