PHP Class Swift_Events_EventObject, Halite

Author: Chris Corbyn
Inheritance: implements Swift_Events_Event
Afficher le fichier Open project: HaliteChallenge/Halite Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

bubbleCancelled() public méthode

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

cancelBubble() public méthode

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

getSource() public méthode

Get the source object of this event.
public getSource ( ) : object
Résultat object