Return an array of properties that have changed while change tracking was on.
Example
// Get an array of changed field names
$changes = $page->getChanges();
Usage
// basic usage
$array = $page->getChanges();
// usage with all arguments
$array = $page->getChanges(bool $getValues = false);
Arguments
Name | Type(s) | Description |
---|---|---|
getValues (optional) | bool | Specify one of the following, or omit for default setting.
|
Return value
array
API reference based on ProcessWire core version 3.0.236