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:

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

receiver3 [line 58]

void receiver3( &$notification)

example observer


Parameters

   &$notification  
[ Top ]



Documentation generated on Wed, 09 Dec 2015 22:43:44 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.