Parameters [updateNulls] Update null values
Returns true on success
Appendix
[ 388 ]
setErrorNum( value : int ) : void
Sets the object error number. 0 (zero) means no error.
Parameters value Error number
toXML( mapKeysToText : boolean=false ) : string
Gets an XML representation of the buffered record.
Parameters [mapKeysToText] Maps foreign keys to text
Returns XML string
JError
static
Error handler. For more information about JError refer to Chapter 11.
Methods
static customErrorPage( &error : JException ) : void
Gets the global instance of JDocumentError and passes it the error, then renders the page.
This removes any previous output, and terminates the script.
Parameters error JException error object
Return $error
static &getError( unset : boolean=false ) : mixed
Gets the last error in the global error stack, or false if there are no errors. If unset is true,
then the error will be removed from the stack.
Parameters [unset] Remove last error from the global error stack
Returns First error in the global error stack, or false if there are no errors
static getErrorHandling( level : int ) : array
Gets a copy of the associative array used to determine the handling of the specified error
level.
Pages:
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543