Record::log - jcobban/Genealogy GitHub Wiki

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

Up: class Record

This protected method adds a record to table SqlLog which records information about a change made to the database. These records contain a before and after image of the record, so they can be used either to apply changes to another copy of the system, or to back-out changes.

parameter description
$cmd The SQL command issued to update the database as passed to either PDO::prepare or PDO::query.
$parms This contains an array of substitution values as passed to PDO::execute.

Next: Record::slog($cmd, $parms, $key, $before, $after)