ObjectMonitoringInterface
An interface how to monitor changes on an object and its properties. All domain objects which should be persisted need to implement the below interface.
Tags
Table of Contents
Methods
- _isDirty() : bool
- Returns TRUE if the properties were modified after reconstitution
- _memorizeCleanState() : void
- Register an object's clean state, e.g. after it has been reconstituted from the database
Methods
_isDirty()
Returns TRUE if the properties were modified after reconstitution
public
_isDirty([non-empty-string|null $propertyName = null ]) : bool
Parameters
- $propertyName : non-empty-string|null = null
Return values
bool_memorizeCleanState()
Register an object's clean state, e.g. after it has been reconstituted from the database
public
_memorizeCleanState([non-empty-string|null $propertyName = null ]) : void
Parameters
- $propertyName : non-empty-string|null = null