[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/lib/pear/HTML/AJAX/ -> Debug.php (summary)

AJAX Debugging implementation SVN Rev: $Id: Debug.php,v 1.1.2.1 2008/10/03 07:09:50 nicolasconnault Exp $

File Size: 144 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTML_AJAX_Debug:: (4 methods):
  HTML_AJAX_Debug()
  xmlError()
  sessionError()
  _saveError()


Class: HTML_AJAX_Debug  - X-Ref

AJAX Debugging implementation

HTML_AJAX_Debug($errMsg, $errLine, $errCode, $errFile)   X-Ref
The constructor.

param: string $errorMsg   The error message.
param: string $errLine    The line where error occured.
param: string $errCode    The error Code.
param: string $errFile    The file where error occured.

xmlError()   X-Ref
This functions formats the error to xml format then we can save it.

return: $this->error   the main error.

sessionError()   X-Ref
This function pushes the array $_SESSION['html_ajax_debug']['time'][]
with the values inside of $this->error


_saveError()   X-Ref
This function saves the error to a file
appending to this file.




Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7