History

Models

DataHistory

The data history model

Namespace

Plenty\Modules\Data\History\Models

Properties

Type Name Description
string referenceType The data type that changed (for example 'contact')
int referenceId The id of data that changed
int userId The id of the user that invoked the change
string userName The name of the user that invoked the change
string reference The reference of the data
string uuid The unique identifier of the data history item
Collection dataChangeList
string createdAt
string updatedAt
string ttl

Methods

public toArray()

Returns this model as an array.