Class Error

Description

The Error class stores error strings and displays them as needed.

Loads errors from file on instantiation. display_error() is called as needed.

Located in /phpfw.php (line 612)


	
			
Variable Summary
Method Summary
Error Error (string $error_file)
void check_errors ()
void display_error ()
Variables
array $error_strings (line 616)
  • var: Stores the error strings as an array
Methods
Constructor Error (line 623)

Constructor for the Error class

Error Error (string $error_file)
  • string $error_file: Load error strings this file
check_errors (line 633)

Check that error file syntax is correct

void check_errors ()
display_error (line 658)

Display the specified error message

Display the error message specified. Exit if severity is ERROR or STOP. Called as follows:

display_error('ERROR_NAME_DEFINED', $param1, $param2, .., $paramN);

void display_error ()

Documentation generated on Sat, 23 Jun 2007 21:28:26 -0500 by phpDocumentor 1.3.2