Class catcher

Description

Located in /catcher.class.php (line 16)


	
			
Method Summary
catcher __construct ([bool $exceptions = true], [bool $errors = true], [bool $dieonfatal = true], [bool $recovery = false], [ $dieonunknown = true], bool $dieonunknown;)
void __destruct ()
void catcherror (int $errornr, string $errortext, string $errorfile, int $errorline, array $errorcontext)
void catchexception (Exception $exception)
array getlasterror ()
array getlastexception ()
void setbacktrace (bool $backtrace)
void setlogfile (mixed $logfile)
void setmail (mixed $mailto, mixed $mailfrom, mixed $mailsubject)
void setoutput (bool $output, [bool $outputhtml = true])
Methods
Constructor __construct (line 112)

Constructor

  • access: public
catcher __construct ([bool $exceptions = true], [bool $errors = true], [bool $dieonfatal = true], [bool $recovery = false], [ $dieonunknown = true], bool $dieonunknown;)
  • bool $exceptions
  • bool $errors
  • bool $dieonfatal
  • bool $recovery
  • bool $dieonunknown;
  • $dieonunknown
Destructor __destruct (line 133)

Destructor

  • access: public
void __destruct ()
catcherror (line 214)

Catch an error.

  • access: public
void catcherror (int $errornr, string $errortext, string $errorfile, int $errorline, array $errorcontext)
  • int $errornr
  • string $errortext
  • string $errorfile
  • int $errorline
  • array $errorcontext
catchexception (line 196)

Catch an exception.

  • access: public
void catchexception (Exception $exception)
  • Exception $exception
getlasterror (line 335)

Get the last error.

  • access: public
array getlasterror ()
getlastexception (line 325)

Get the last exception.

  • access: public
array getlastexception ()
setbacktrace (line 150)

Set backtrace-parameters.

  • access: public
void setbacktrace (bool $backtrace)
  • bool $backtrace
setlogfile (line 186)

Set log-parameters.

  • access: public
void setlogfile (mixed $logfile)
  • mixed $logfile
setmail (line 174)

Set mail-parameters.

  • access: public
void setmail (mixed $mailto, mixed $mailfrom, mixed $mailsubject)
  • mixed $mailto
  • mixed $mailfrom
  • mixed $mailsubject
setoutput (line 161)

Set output-parameters.

  • access: public
void setoutput (bool $output, [bool $outputhtml = true])
  • bool $output
  • bool $outputhtml

Documentation generated on Thu, 12 Mar 2009 16:30:21 +0800 by phpDocumentor 1.4.2