The array contains the key mode and, optionally, the key options. If an unknown
level is passed, then null will be returned.
Parameters level Error level
Return Associative array used to determine error handling mechanism of level
static &getErrors( ) : array
Gets a reference to the global error stack.
Returns Reference to the global error stack
Appendix
[ 389 ]
static &handleCallback( &error : JException, options : array ) : mixed
Calls a method in another class, passes error to it, and returns the result. options must
have two string elements, the class name and method name to be called. This is essentially
a pass-through method for the PHP call_user_func() function.
Parameters error JException error object
options array('classname', 'methodname')
Return Result of the executed method
static &handleDie( &error : JException, options : array ) : JException
Terminates the script and outputs the JException message to screen in HTML. If $_
SERVER['HTTP_HOST'] is not set, the message will either be echoed in plain text, or if
STDERR is defined, written to STDERR.
Pages:
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544