PersistenceEvent Class Reference
Detailed Description
PersistentEvent signals create/update/delete operations on a persistent entity.
Definition at line 22 of file PersistenceEvent.php.
Inheritance diagram for PersistenceEvent:
Public Member Functions | |
__construct (PersistentObject $object, $action) | |
getObject () | |
getAction () | |
Public Member Functions inherited from Event | |
stopPropagation () | |
isStopped () | |
Public Attributes | |
const | NAME = __CLASS__ |
Constructor & Destructor Documentation
__construct | ( | PersistentObject | $object, |
$action | |||
) |
Constructor.
- Parameters
-
$object A reference to the involved PersistentObject instance. $action One of the PersistenceAction values.
Definition at line 34 of file PersistenceEvent.php.
Member Function Documentation
getObject | ( | ) |
Get the object involved.
- Returns
- PersistentObject instance
Definition at line 43 of file PersistenceEvent.php.
getAction | ( | ) |
Member Data Documentation
const NAME = __CLASS__ |
Definition at line 24 of file PersistenceEvent.php.