Event_Dispatcher
[ class tree: Event_Dispatcher ] [ index: Event_Dispatcher ] [ all elements ]

File: bubbling.php

Source Location: /Event_Dispatcher-1.1.0/examples/bubbling.php

Classes:

sender
example sender class

Page Details:

example that shows how to create event bubbling

This allows you to create several levels of event handling and you may post a notification to any of these levels.

After a notification has been posted on a lower level, it will bubble up through all other levels.

Includes:

require_once('Event/Dispatcher.php') [line 19]
load Event_Dispatcher package

receiver1 [line 42]

void receiver1( &$notification)

example observer


Parameters

   &$notification  
[ Top ]



receiver2 [line 50]

void receiver2( &$notification)

example observer


Parameters

   &$notification  
[ Top ]



receiver3 [line 58]

void receiver3( &$notification)

example observer


Parameters

   &$notification  
[ Top ]



Documentation generated on Fri, 24 Jul 2009 06:30:01 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.