Event_Dispatcher::removeNestedDispatcher
Event_Dispatcher::removeNestedDispatcher() – Remove a nested dispatcher.
Synopsis
require_once 'Event/Dispatcher.php';
boolean Event_Dispatcher::removeNestedDispatcher (
object Event_Dispatcher &$dispatcher
)
Description
Removes a nested dispatcher from the dispatcher.
To remove a dispatcher from the list of nested dispatcher, just pass the same object to removeNestedDispatcher().
Parameter
-
object Event_Dispatcher
&$dispatcher
Dispatcher that should be removed from the list of nested dispatchers.
Return value
boolean TRUE if the dispatcher could be removed, FALSE otherwise.
Note
This function can not be called statically.