>> YANA 4 PHP Framework >> Docs For Class ErrorUtility

Class ErrorUtility

Description

«utility» static class for error handling and debugging

  • name: class_errorutility
  • access: public

Located in /includes/class_errorutility.php


	
			

Method Summary

void setErrorReporting (integer|string $errorLevel)

Methods

setErrorReporting
void setErrorReporting (integer|string $errorLevel)

Set error reporting level

You may use the following constants:

  1. YANA_ERROR_ON = catch all errors and print to screen
  2. YANA_ERROR_OFF = do not report any errors or messages
  3. YANA_ERROR_LOG = write errors and messages to a log file

  • uses: Index::errorReporting(YANA_ERROR_OFF)
  • name: index::errorreporting()
  • static:
  • access: public
Name Type Description
$errorLevel integer|string examples: YANA_ERROR_OFF, YANA_ERROR_LOG, YANA_ERROR_ON or E_ALL, E_ALL & ~NOTICE

Documentation generated on Sat, 16 Sep 2006 17:05:57 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas MeyerHomepage: www.all-community.de/pub