Class: I2CE Module Debugging: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 6: Line 6:
It is contained in the module [[iHRIS Module List#fancyDebug|fancyDebug]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#fancyDebug|fancyDebug]] in the package [https://launchpad.net/i2ce I2CE]


The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php]
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php]


* The module that Debuggin infor
* The module that Debuggin infor
Line 73: Line 73:
It is contained in the module [[iHRIS Module List#fancyDebug|fancyDebug]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#fancyDebug|fancyDebug]] in the package [https://launchpad.net/i2ce I2CE]


The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php]
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php]


* The module that Debuggin infor
* The module that Debuggin infor

Revision as of 21:24, 16 October 2009

The class I2CE_Module_Debugging contains 2 definitions:

modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php

This article desrcibes the class I2CE_Module_Debugging which extends the class I2CE_Module It is contained in the module fancyDebug in the package I2CE

The class is defined in the file: modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php

  • The module that Debuggin infor

@package I2CE

@access public

@author Carl Leitner <litlfred@ibiblio.org>

@since Demo-v1.a

@version Demo-v2.a

Variables

$errors

An array of javavscript error messages

  • Type: protected $errors

Methods

__construct()

The constructor

  • Signature: public function __construct()

createArgument()

Displays an object nicely

  • Signature: protected function createArgument($arg,$addNode,$id)

Parameters:

  • $arg
  • $addNode
  • $id

createError()

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

  • Signature: protected function createError($msg)
  • Returns: DOMNode

Parameters:

getHooks()

  • Signature: static public function getHooks()

processErrors()

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

  • 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

  • Signature: public function writeOutJS($args)

Parameters:

  • $args

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

modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php

This article desrcibes the class I2CE_Module_Debugging which extends the class I2CE_Module It is contained in the module fancyDebug in the package I2CE

The class is defined in the file: modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php

  • The module that Debuggin infor

@package I2CE

@access public

@author Carl Leitner <litlfred@ibiblio.org>

@since Demo-v1.a

@version Demo-v2.a

Variables

$errors

An array of javavscript error messages

  • Type: protected $errors

Methods

__construct()

The constructor

  • Signature: public function __construct()

createArgument()

Displays an object nicely

  • Signature: protected function createArgument($arg,$addNode,$id)

Parameters:

  • $arg
  • $addNode
  • $id

createError()

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

  • Signature: protected function createError($msg)
  • Returns: DOMNode

Parameters:

getHooks()

  • Signature: static public function getHooks()

processErrors()

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

  • 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

  • Signature: public function writeOutJS($args)

Parameters:

  • $args

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