Class n2f_debug

Description

Debug utility class for N2 Framework Yverdon.

Located in /system/classes/debug.cls.php (line 21)

n2f_events
   |
   --n2f_debug
Method Summary
array getErrors ()
array getNotices ()
array getWarnings ()
boolean showLevel (integer $level)
n2f_debug throwError (integer $errno, string $errstr, string $file)
n2f_debug throwNotice (integer $notno, string $notstr, string $file)
n2f_debug throwWarning (integer $warno, string $warstr, string $file)
Variables

Inherited Variables

Inherited from n2f_events

n2f_events::$events
Methods
Constructor __construct (line 53)

Initializes a new n2f_debug object.

  • access: public
n2f_debug __construct (n2f_cfg_dbg $cfg)
  • n2f_cfg_dbg $cfg: Instance of n2f_cfg_dbg object for current configuration

Redefinition of:
n2f_events::__construct()
Initializes the n2f_events object.
getErrors (line 135)

Returns the internal list of errors.

  • access: public
array getErrors ()
getNotices (line 153)

Returns the internal list of notices.

  • access: public
array getNotices ()
getWarnings (line 144)

Returns the internal list of warnings.

  • access: public
array getWarnings ()
showLevel (line 163)

Returns true or false depending on whether or not the provided debug level is currently toggled.

  • access: public
boolean showLevel (integer $level)
  • integer $level: Level to compare against for toggle
throwError (line 75)

Adds an error to the internal list.

  • access: public
n2f_debug throwError (integer $errno, string $errstr, string $file)
  • integer $errno: Error number being reported
  • string $errstr: Error string being reported
  • string $file: File where error was recorded from
throwNotice (line 117)

Adds a notice to the internal list.

  • access: public
n2f_debug throwNotice (integer $notno, string $notstr, string $file)
  • integer $notno: Notice number being reported
  • string $notstr: Notice string being reported
  • string $file: File where notice was recorded from
throwWarning (line 96)

Adds a warning to the internal list.

  • access: public
n2f_debug throwWarning (integer $warno, string $warstr, string $file)
  • integer $warno: Warning number being reported
  • string $warstr: Warning string being reported
  • string $file: File where warning was recorded from

Inherited Methods

Inherited From n2f_events

n2f_events::__construct()
n2f_events::addEvent()
n2f_events::hitEvent()
n2f_events::hookEvent()

Documentation generated on Sat, 23 Jan 2010 11:13:41 -0500 by phpDocumentor 1.4.1