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

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Module_BinaryFiles}} This article describes the class ''I2CE_Module_BinaryFiles'' . *Extends the class: [[Class: I2CE_Module (Development) | I2CE_Modu…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Module_BinaryFiles'' .
This article describes the class ''I2CE_Module_BinaryFiles'' .
*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)#BinField|BinField]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#BinField|BinField]] 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/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L39 modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 39
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L39 modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 39
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
*Since: Demo-v1.a
*Since: Demo-v1.a
Line 10: Line 10:
===action_enable()===
===action_enable()===
Only allow the module to be enabled if the  finfo http://us2.php.net/fileinfo extension is enabled
Only allow the module to be enabled if the  finfo http://us2.php.net/fileinfo extension is enabled
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L46 i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 46
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L46 i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 46
*Signature: public function action_enable()
*Signature: public function action_enable()
===action_initialize()===
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/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L71 i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 71
*Signature: public function action_initialize()
===createTempUploadTable()===
method to intialize temporary upload table
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L83 i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 83
*Signature: protected function createTempUploadTable()
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]
===upgrade()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php#L57 i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_Module_BinaryFiles.php] on line 57
*Signature: public function upgrade($old_vers,$new_vers)
*Parameters:
**$old_vers
**$new_vers
==Inherited Methods==
==Inherited Methods==
===__construct()===
===__construct()===
Line 21: Line 36:
===action_disable()===
===action_disable()===
This public method is inherited from [[Class: I2CE_Module (Development)#action_disable() | I2CE_Module->action_disable()]]
This public method is inherited from [[Class: I2CE_Module (Development)#action_disable() | I2CE_Module->action_disable()]]
===action_initialize()===
This public method is inherited from [[Class: I2CE_Module (Development)#action_initialize() | I2CE_Module->action_initialize()]]
===getCLIHooks()===
This public method is inherited from [[Class: I2CE_Module (Development)#getCLIHooks() | I2CE_Module->getCLIHooks()]]


===getCLIMethods()===
===getCLIMethods()===
Line 45: Line 54:
===pre_upgrade()===
===pre_upgrade()===
This public method is inherited from [[Class: I2CE_Module (Development)#pre_upgrade() | I2CE_Module->pre_upgrade()]]
This public method is inherited from [[Class: I2CE_Module (Development)#pre_upgrade() | I2CE_Module->pre_upgrade()]]
===upgrade()===
This public method is inherited from [[Class: I2CE_Module (Development)#upgrade() | I2CE_Module->upgrade()]]


===_hasMethod()===
===_hasMethod()===

Latest revision as of 08:15, 6 May 2015


This article describes the class I2CE_Module_BinaryFiles .

Methods

action_enable()

Only allow the module to be enabled if the finfo http://us2.php.net/fileinfo extension is enabled

action_initialize()

Method called when the module is enabled for the first time. @param boolean -- returns true on success. false on error.

createTempUploadTable()

method to intialize temporary upload table

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

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