phpDocumentor openbiz.bin
[ class tree: openbiz.bin ] [ index: openbiz.bin ] [ all elements ]

Class: OB_ErrorHandler

Source Location: /ErrorHandler.php

Class OB_ErrorHandler

Class Overview

Openbiz Error Handler can handle php error and uncaught exception.

The default behavior is to show popup on client side. Developer can overide it to add more logic

Located in /ErrorHandler.php [line 25]



		
				Author(s):
		
		
		
Information Tags:
Version:  2.3 2009-06-01

Methods

[ Top ]
Method Summary
void   ErrorHandler()   User error handler
void   ExceptionHandler()   User exception handler

[ Top ]
Methods
ErrorHandler  [line 37]

  void ErrorHandler( number $errno, string $errmsg, string $filename, number $linenum, $vars  )

User error handler

Parameters:
number   $errno:  error number
string   $errmsg:  error message
string   $filename:  file name where the error occurred
number   $linenum:  line number where the error occurred
   $vars:  (not yet implemented)

API Tags:
Static:  
Access:  public


[ Top ]
ExceptionHandler  [line 63]

  void ExceptionHandler( object $exc  )

User exception handler

Parameters:
object   $exc:  hold error data

API Tags:
Static:  
Access:  public


[ Top ]

Documentation generated on Tue, 22 Dec 2009 03:02:55 -0800 by phpDocumentor 1.3.0RC3