Class: I2CE Module Debugging

From IHRIS Wiki
Revision as of 13:09, 19 October 2009 by Litlfred (talk | contribs)

This article describes the class I2CE_Module_Debugging.

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:
  • 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