Class: I2CE Module Debugging: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
Displays an object nicely | Displays an object nicely | ||
*Signature: protected function createArgument($arg,$addNode,$id) | *Signature: protected function createArgument($arg,$addNode,$id) | ||
Parameters: | *Parameters: | ||
*$arg | *$arg | ||
*$addNode | *$addNode | ||
*$id | *$id | ||
===createError()=== | ===createError()=== | ||
Creates an error message in the given document | Creates an error message in the given document @param DOMDocument $doc | ||
@param DOMDocument $doc | |||
*Signature: protected function createError($msg) | *Signature: protected function createError($msg) | ||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $msg <br/>The error message | |||
*Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ] | *Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ] | ||
===getHooks()=== | ===getHooks()=== | ||
*Signature: static public function getHooks() | *Signature: static public function getHooks() | ||
Line 38: | Line 37: | ||
returns false as we do not want to do a redirect. | returns false as we do not want to do a redirect. | ||
*Signature: public function processErrors($args) | *Signature: public function processErrors($args) | ||
Parameters: | *Parameters: | ||
*$args | *$args | ||
===writeOutJS()=== | ===writeOutJS()=== | ||
Make a call to process any delayed errors. | 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 sure that the error div, if it exists, is the last thing on the body | |||
@param I2CE_Template $template | |||
*Signature: public function writeOutJS($args) | *Signature: public function writeOutJS($args) | ||
Parameters: | *Parameters: | ||
*$args | *$args | ||
Line 80: | Line 77: | ||
Displays an object nicely | Displays an object nicely | ||
*Signature: protected function createArgument($arg,$addNode,$id) | *Signature: protected function createArgument($arg,$addNode,$id) | ||
Parameters: | *Parameters: | ||
*$arg | *$arg | ||
*$addNode | *$addNode | ||
*$id | *$id | ||
===createError()=== | ===createError()=== | ||
Creates an error message in the given document | Creates an error message in the given document @param DOMDocument $doc | ||
@param DOMDocument $doc | |||
*Signature: protected function createError($msg) | *Signature: protected function createError($msg) | ||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $msg <br/>The error message | |||
*Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ] | *Returns: [http://www.php.net/manual/en/class.domnode.php DOMNode ] | ||
===getHooks()=== | ===getHooks()=== | ||
*Signature: static public function getHooks() | *Signature: static public function getHooks() | ||
Line 96: | Line 92: | ||
returns false as we do not want to do a redirect. | returns false as we do not want to do a redirect. | ||
*Signature: public function processErrors($args) | *Signature: public function processErrors($args) | ||
Parameters: | *Parameters: | ||
*$args | *$args | ||
===writeOutJS()=== | ===writeOutJS()=== | ||
Make a call to process any delayed errors. | 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 sure that the error div, if it exists, is the last thing on the body | |||
@param I2CE_Template $template | |||
*Signature: public function writeOutJS($args) | *Signature: public function writeOutJS($args) | ||
Parameters: | *Parameters: | ||
*$args | *$args | ||
Revision as of 23:40, 16 October 2009
The class I2CE_Module_Debugging contains 2 definitions:
- Definition in modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php
- Definition in modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php
modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php
This article desrcibes the class I2CE_Module_Debugging.
- Extends the class: I2CE_Module.
- Location: Part of the module fancyDebug in the package I2CE
- Source: Defined in the file modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: Demo-v1.a
- The module that Debuggin infor
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)
- Parameters:
- string $msg
The error message
- string $msg
- Returns: DOMNode
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.
- Extends the class: I2CE_Module.
- Location: Part of the module fancyDebug in the package I2CE
- Source: Defined in the file modules/MooTools/modules/Debugger/I2CE_Module_Debugging.php
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: Demo-v1.a
- The module that Debuggin infor
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)
- Parameters:
- string $msg
The error message
- string $msg
- Returns: DOMNode
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()