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

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_Module_Debugging}} This article describes the class ''I2CE_Module_Debugging'' . *Extends the class: I2CE_Module…')
 
No edit summary
 
Line 2: Line 2:
This article describes the class ''I2CE_Module_Debugging'' .
This article describes the class ''I2CE_Module_Debugging'' .
*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)#MooTools|MooTools]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#MooTools|MooTools]] 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/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L31 modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 31
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L31 modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 31
*Author: Carl Leitner <litlfred@ibiblio.org>
*Author: Carl Leitner <litlfred@ibiblio.org>
*Since: Demo-v1.a
*Since: Demo-v1.a
Line 10: Line 10:
===$errors===
===$errors===
An array of  javavscript error messages
An array of  javavscript error messages
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L45 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 45
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L45 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 45
*Type: protected $errors
*Type: protected $errors


Line 16: Line 16:
===__construct()===
===__construct()===
The constructor
The constructor
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L36 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 36
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L36 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 36
*Signature: public function __construct()
*Signature: public function __construct()
===createArgument()===
===createArgument()===
Displays an object nicely
Displays an object nicely
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L183 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 183
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L183 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 183
*Signature: protected function createArgument($arg,$addNode,$id)
*Signature: protected function createArgument($arg,$addNode,$id)
*Parameters:
*Parameters:
Line 28: Line 28:
===createError()===
===createError()===
Creates an error message in the given document @param DOMDocument $doc
Creates an error message in the given document @param DOMDocument $doc
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L127 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 127
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L127 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 127
*Signature: protected function createError($msg)
*Signature: protected function createError($msg)
*Parameters:
*Parameters:
Line 34: Line 34:
*Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ]
*Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ]
===getHooks()===
===getHooks()===
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L49 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 49
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L49 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 49
*Signature: static public function getHooks()
*Signature: static public function getHooks()
===processErrors()===
===processErrors()===
returns false as we do not want to do a redirect.
returns false as we do not want to do a redirect.
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L117 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 117
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L117 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 117
*Signature: public function processErrors($args)
*Signature: public function processErrors($args)
*Parameters:
*Parameters:
Line 44: Line 44:
===writeOutJS()===
===writeOutJS()===
Make a call to process any  delayed errors. make sure that the error div, if it exists, is the last thing on the body @param I2CE_Template $template
Make a call to process any  delayed errors. make sure that the error div, if it exists, is the last thing on the body @param I2CE_Template $template
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L63 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 63
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php#L63 i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php] on line 63
*Signature: public function writeOutJS($args)
*Signature: public function writeOutJS($args)
*Parameters:
*Parameters:
Line 60: Line 60:
===action_initialize()===
===action_initialize()===
This public method is inherited from [[Class: I2CE_Module (Development)#action_initialize() | I2CE_Module->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()===

Latest revision as of 09:15, 6 May 2015


This article describes the class I2CE_Module_Debugging .

Variables

$errors

An array of javavscript error messages

Methods

__construct()

The constructor

createArgument()

Displays an object nicely

createError()

Creates an error message in the given document @param DOMDocument $doc

getHooks()

processErrors()

returns false as we do not want to do a redirect.

writeOutJS()

Make a call to process any delayed errors. make sure that the error div, if it exists, is the last thing on the body @param I2CE_Template $template

Inherited Methods

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

getCLIMethods()

This public method is inherited from I2CE_Module->getCLIMethods()

getConfig()

This public method is inherited from I2CE_Module->getConfig()

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

upgrade()

This public method is inherited from I2CE_Module->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()