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