void Event_Dispatcher::addNestedDispatcher (
object Event_Dispatcher &$dispatcher
Adds a nested dispatcher to the dispatcher.
If you have one dispatcher that dispatches events of a component in your framework and one dispatcher that dispatches global events that are triggered by the framework itself it could make sense that you nest these dispatchers, so that events posted by the component dispatcher will also be broadcasted to the global dispatcher.
Dispatcher that should be added as a nested dispatcher to the current dispatcher.
This function can not be called statically.