options,
if set, is passed to the handler method. For example, if mode was 'message', then
the JError::handleMessage() method would be called with two parameters??”the
JException object and options. If 'mode' is callback, the options array must be
specified, and it must contain two string elements, a class name and a method to execute.
callback is special, because it is the only mode in which a method outside of the JError
class can be used to handle an error.
Parameters level Error level
mode Error handler
[options] Options to pass to the handler method
Return true on success; error on failure
static translateErrorLevel( level : int ) : mixed
Gets the name of the error level. If the error level is not defined, false will be returned.
Parameters level Error level
Return Name of error level; false if error level is not defined
Appendix
[ 393 ]
JDocument
abstract, extends JObject
Encapsulates and caches a response during the execution of an application. This enables
us to make modifications to any part of the document irrespective of where we are in the
output process.
Pages:
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549