Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
ErrorHandler Class Reference

Public Member Functions

 __construct ()
 
 getStatus ($status=NULL)
 
 getMaxStatus ($status)
 
 getMinStatus ($status)
 
 getErrors ($status=NULL)
 
 getAllErrors ()
 
 nextError ($status)
 
 throwError ($status, $message, $file= '', $line= '')
 
 throwSingleError ($index, $status, $message, $file= '', $line= '')
 

Data Fields

const ERROR_NORMAL = 1
 
const ERROR_MESSAGE = 2
 
const ERROR_WARNING = 4
 
const ERROR_CRITICAL = 8
 
const ERROR_FATAL = 16
 
 $errors
 
 $status
 

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

getAllErrors ( )
getErrors (   $status = NULL)
getMaxStatus (   $status)
getMinStatus (   $status)
getStatus (   $status = NULL)
nextError (   $status)
throwError (   $status,
  $message,
  $file = '',
  $line = '' 
)
throwSingleError (   $index,
  $status,
  $message,
  $file = '',
  $line = '' 
)

Field Documentation

$errors
$status
const ERROR_CRITICAL = 8
const ERROR_FATAL = 16
const ERROR_MESSAGE = 2
const ERROR_NORMAL = 1
const ERROR_WARNING = 4

The documentation for this class was generated from the following file: