Clears out any tracked changes and turns change tracking ON or OFF
Example
// Clear any changes that have been tracked and start fresh
$page->resetTrackChanges();
Usage
// basic usage
$wire->resetTrackChanges();
// usage with all arguments
$wire->resetTrackChanges(bool $trackChanges = true);
Arguments
Name | Type(s) | Description |
---|---|---|
trackChanges (optional) | bool | True to turn change tracking ON, or false to turn OFF. Default of true is assumed. |
Return value
$this
Object instance it was called from (method supports fluent interface).
API reference based on ProcessWire core version 3.0.236