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
receiver2 [line 50]
void receiver2(
&$notification)
|
|
example observer
Parameters
receiver3 [line 58]
void receiver3(
&$notification)
|
|
example observer
Parameters
Documentation generated on Mon, 11 Mar 2019 15:32:31 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|