Event_Dispatcher::removeObserver()

Event_Dispatcher::removeObserver() -- Remove an observer.

Synopsis

require_once 'Event/Dispatcher.php';

bool Event_Dispatcher::removeObserver (mixed $callback [, string $nName = EVENT_DISPATCHER_GLOBAL [, string $class = '']])

Beschreibung

Remove an observer from dispatcher.

To remove an observer, specify the same parameters as used in the call to addObserver().

Parameter

Rückgabewert

bool TRUE if the observer could be removed, FALSE otherwise

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.