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