connect()
disconnect()
filter()
getListeners()
hasListeners()
notify()
notifyUntil()
$listeners
sfEventDispatcher implements a dispatcher object.
| see | \http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/index.html |
|---|---|
| package | symfony |
| subpackage | event_dispatcher |
| author | Fabien Potencier |
| version | SVN: $Id: sfEventDispatcher.class.php 10631 2008-08-03 16:50:47Z fabien $ |
connect(string $name, mixed $listener)
stringAn event name
mixedA PHP callable
disconnect(string $name, mixed $listener) : mixed
stringAn event name
mixedA PHP callable
mixedfalse if listener does not exist, null otherwisefilter(sfEvent $event, mixed $value) : \sfEvent
getListeners(string $name) : array
stringThe event name
arrayAn array of listenershasListeners(string $name) : Boolean
stringThe event name
Booleantrue if some listeners are connected, false otherwisenotify(sfEvent $event) : \sfEvent
notifyUntil(sfEvent $event) : \sfEvent
$listeners