XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Events_EventObject Class Reference
Inheritance diagram for Swift_Events_EventObject:
Inheritance graph

Public Member Functions

 __construct ($source)
 
 bubbleCancelled ()
 
 cancelBubble ($cancel=true)
 
 getSource ()
 

Private Attributes

 $_bubbleCancelled = false
 
 $_source
 

Detailed Description

Definition at line 20 of file EventObject.php.

Constructor & Destructor Documentation

Swift_Events_EventObject::__construct (   $source)

Create a new EventObject originating at $source.

Parameters
object$source

Definition at line 33 of file EventObject.php.

Member Function Documentation

Swift_Events_EventObject::bubbleCancelled ( )

Returns true if this Event will not bubble any further up the stack.

Returns
boolean

Implements Swift_Events_Event.

Definition at line 60 of file EventObject.php.

References $_bubbleCancelled.

Referenced by Swift_Events_SimpleEventDispatcher\_bubble().

Here is the caller graph for this function:

Swift_Events_EventObject::cancelBubble (   $cancel = true)

Prevent this Event from bubbling any further up the stack.

Parameters
boolean$cancel,optional

Implements Swift_Events_Event.

Definition at line 51 of file EventObject.php.

Referenced by Swift_Plugins_LoggerPlugin\exceptionThrown().

Here is the caller graph for this function:

Swift_Events_EventObject::getSource ( )

Member Data Documentation

Swift_Events_EventObject::$_bubbleCancelled = false
private

The state of this Event (should it bubble up the stack?)

Definition at line 27 of file EventObject.php.

Referenced by bubbleCancelled().

Swift_Events_EventObject::$_source
private

The source of this Event

Definition at line 24 of file EventObject.php.

Referenced by getSource().


The documentation for this class was generated from the following file: