\Swift_Events_EventObject
A base Event which all Event classes inherit from.
- Author: Chris Corbyn
Synopsis
class Swift_Events_EventObject
implements
Swift_Events_Event
{
- // members
- private $_source;
- private $_bubbleCancelled;
- // methods
- public void __construct()
- public getSource()
- public void cancelBubble()
- public boolean bubbleCancelled()
Hierarchy
Extended by
- Swift_Events_ResponseEvent
- Swift_Events_SendEvent
- Swift_Events_TransportExceptionEvent
- Swift_Events_CommandEvent
- Swift_Events_TransportChangeEvent
Implements
Members
private
-
$_bubbleCancelled
The state of this Event (should it bubble up the stack?) -
$_source
The source of this Event
Methods
public
- __construct() — Create a new EventObject originating at $source.
- bubbleCancelled() — Returns true if this Event will not bubble any further up the stack.
- cancelBubble() — Prevent this Event from bubbling any further up the stack.
- getSource() — Get the source object of this event.