Record::debugBacktrace - jcobban/Genealogy GitHub Wiki

$record->debugBacktrace($depth)

Up: class Record

This protected method returns a string which reports on the sequence of function calls that led to the invocation of the current function. It extracts that part of the function of the existing method Record::constDebug. This supports one optional parameter:

parameter contains
depth the maximum depth of the call back trace. If omitted 5 call backs are analysed.

The return value is a string in which characters that have a special meaning to HTML or XML replaced so the value can be displayed to the user.

Next: $record->log($cmd, $parms)