pclib
3.0.0
Lightweight PHP framework
|
Representation of particular event. More...
Data Fields | |
$propagate = true | |
If set to false, event propagation stop immediatelly. | |
$target | |
Object which triggered this event. | |
$name | |
Event name. | |
$result | |
Value returned by event handler. | |
$data | |
Event data. More... | |
Representation of particular event.
When any event is triggered, Event object is created and passed into event handler.
$data |
Event data.
You can access data like object attributes too. Ex: $event->data['sql'] is the same like $event->sql.