26 private $object =
null;
28 private $oldValue =
null;
29 private $newValue =
null;
39 $this->
object = $object;
41 $this->oldValue = $oldValue;
42 $this->newValue = $newValue;
66 return $this->oldValue;
74 return $this->newValue;
getValueName()
Get the name of the value that has changed.
Persistence layer related interfaces and classes.
Event is the base class for all events.
getObject()
Get the object whose value has changed.
ValueChangeEvent signals a change of a value of a PersistentObject instance.
getOldValue()
Get the old value.
__construct(PersistentObject $object, $name, $oldValue, $newValue)
Constructor.
getNewValue()
Get the new value.
PersistentObject defines the interface of all persistent objects.