Class: I2CE Module Debugging (Development): Difference between revisions
(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. | *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. | *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. | *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. | *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. | *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. | *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. | *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. | *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. | *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()]] | ||
===getCLIMethods()=== | ===getCLIMethods()=== |
Latest revision as of 08:15, 6 May 2015
This article describes the class I2CE_Module_Debugging .
- Extends the class: I2CE_Module.
- Location: Part of the module MooTools in the package I2CE 4.1-dev
- Source: Defined in the file modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 31
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: Demo-v1.a
- The module that Debuggin infor
Variables
$errors
An array of javavscript error messages
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 45
- Type: protected $errors
Methods
__construct()
The constructor
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 36
- Signature: public function __construct()
createArgument()
Displays an object nicely
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 183
- Signature: protected function createArgument($arg,$addNode,$id)
- Parameters:
- $arg
- $addNode
- $id
createError()
Creates an error message in the given document @param DOMDocument $doc
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 127
- Signature: protected function createError($msg)
- Parameters:
- string $msg
The error message
- string $msg
- Returns: DOMNode
getHooks()
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 49
- Signature: static public function getHooks()
processErrors()
returns false as we do not want to do a redirect.
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 117
- Signature: public function processErrors($args)
- Parameters:
- $args
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
- Defined in i2ce/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php on line 63
- Signature: public function writeOutJS($args)
- Parameters:
- $args
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()