Class ErrorMessage

Message
   |
   +----ErrorMessage

Located in File: Program_Root/error.mes.php


ErrorMessage
 This message-module creates an interface for adding error-messages and
 aborting the other modules when an error was reported. Most of the
 errors will be reported in one run at the end.
 

Class Variable Summary
$name
Default Value: ->"ErrorMessage"<-
$id
Default Value: ->MES_ERROR<-

Method Summary
ErrorMessage ( )
Constructor
message_added ( $errlevel, [$module = ""], [$message = ""] )
Message added
error ( )
Stop execution
exit_execution ( )
Exit script with an error

Variable Detail

$name



$id




Function Detail

ErrorMessage

ErrorMessage ( )

Constructor
 Set options and call the superConstructor

Function Parameters:
Function Info:

message_added

message_added ( $errlevel, [$module = ""], [$message = ""] )

Message added
 Execute some code after the error message is added to the array

Function Parameters:
Function Info:

error

error ( )

Stop execution
 Make sure execution is stopped after an error

Function Parameters:
Function Info:

exit_execution

exit_execution ( )

Exit script with an error
 Directly stop the working of the script

Function Parameters:
Function Info: