Skip to content

Model Object

changedFrom()

changedFrom() — returns string

Available in: model Category: Change Functions

Returns the previous value of a property that has changed. Returns an empty string if no previous value exists. Wheels will keep a note of the previous property value until the object is saved to the database.

NameTypeRequiredDefaultDescription
propertystringyesName of property to get the previous value for.