ValueChangeEvent Class Reference
Detailed Description
ValueChangeEvent signals a change of a value of a PersistentObject instance.
Definition at line 22 of file ValueChangeEvent.php.
Inheritance diagram for ValueChangeEvent:
Public Member Functions | |
__construct (PersistentObject $object, $name, $oldValue, $newValue) | |
getObject () | |
getValueName () | |
getOldValue () | |
getNewValue () | |
Public Member Functions inherited from Event | |
stopPropagation () | |
isStopped () | |
Public Attributes | |
const | NAME = __CLASS__ |
Constructor & Destructor Documentation
__construct | ( | PersistentObject | $object, |
$name, | |||
$oldValue, | |||
$newValue | |||
) |
Constructor.
- Parameters
-
$object A reference to the PersistentObject object that whose value has changed. $name The name of the item that has changed. $oldValue The old value of the item that has changed. $newValue The new value of the item that has changed.
Definition at line 38 of file ValueChangeEvent.php.
Member Function Documentation
getObject | ( | ) |
Get the object whose value has changed.
- Returns
- PersistentObject instance
Definition at line 49 of file ValueChangeEvent.php.
getValueName | ( | ) |
Get the name of the value that has changed.
- Returns
- String
Definition at line 57 of file ValueChangeEvent.php.
getOldValue | ( | ) |
getNewValue | ( | ) |
Member Data Documentation
const NAME = __CLASS__ |
Definition at line 24 of file ValueChangeEvent.php.