PHP Class Swift_Events_EventObject, Halite

Author: Chris Corbyn
Inheritance: implements Swift_Events_Event
Datei anzeigen Open project: HaliteChallenge/Halite Class Usage Examples

Public Methods

Method Description
__construct ( object $source ) Create a new EventObject originating at $source.
bubbleCancelled ( ) : boolean Returns true if this Event will not bubble any further up the stack.
cancelBubble ( $cancel = true ) Prevent this Event from bubbling any further up the stack.
getSource ( ) : object Get the source object of this event.

Method Details

__construct() public method

Create a new EventObject originating at $source.
public __construct ( object $source )
$source object

bubbleCancelled() public method

Returns true if this Event will not bubble any further up the stack.
public bubbleCancelled ( ) : boolean
return boolean

cancelBubble() public method

Prevent this Event from bubbling any further up the stack.
public cancelBubble ( $cancel = true )

getSource() public method

Get the source object of this event.
public getSource ( ) : object
return object