Event_Dispatcher
[
class tree: Event_Dispatcher
] [
index: Event_Dispatcher
] [
all elements
]
Packages:
Event_Dispatcher
Classes:
Event_Dispatcher
Event_Notification
Examples
MyNotification
sender
Files:
Dispatcher.php
Notification.php
subpackage
Examples
bubbling.php
cancel.php
debugging.php
notification-class.php
object.php
Element index for package Event_Dispatcher
[
a
] [
b
] [
c
] [
d
] [
e
] [
f
] [
g
] [
i
] [
m
] [
n
] [
o
] [
p
] [
r
] [
s
]
a
addNestedDispatcher
in file Dispatcher.php, method
Event_Dispatcher::addNestedDispatcher()
add a new nested dispatcher
addObserver
in file Dispatcher.php, method
Event_Dispatcher::addObserver()
Registers an observer callback
top
b
bubbling.php
procedural page
bubbling.php
top
c
cancelNotification
in file Notification.php, method
Event_Notification::cancelNotification()
Cancel the notification
cancel.php
procedural page
cancel.php
top
d
Dispatcher.php
procedural page
Dispatcher.php
debugging.php
procedural page
debugging.php
top
e
Event_Dispatcher
in file Dispatcher.php, class
Event_Dispatcher
Dispatch notifications using PHP callbacks
EVENT_DISPATCHER_GLOBAL
in file Dispatcher.php, constant
EVENT_DISPATCHER_GLOBAL
Registers a global observer
Event_Notification
in file Notification.php, method
Event_Notification::Event_Notification()
Constructor
Event_Notification
in file Notification.php, class
Event_Notification
A Notification object
EVENT_NOTIFICATION_STATE_CANCELLED
in file Notification.php, constant
EVENT_NOTIFICATION_STATE_CANCELLED
Notification has been cancelled
EVENT_NOTIFICATION_STATE_DEFAULT
in file Notification.php, constant
EVENT_NOTIFICATION_STATE_DEFAULT
Default state of the notification
top
f
foo
in file notification-class.php, method
sender::foo()
top
g
getInstance
in file Dispatcher.php, method
Event_Dispatcher::getInstance()
Returns a notification dispatcher singleton
getName
in file Dispatcher.php, method
Event_Dispatcher::getName()
Get the name of the dispatcher.
getNotificationCount
in file Notification.php, method
Event_Notification::getNotificationCount()
Get the number of posted notifications
getNotificationInfo
in file Notification.php, method
Event_Notification::getNotificationInfo()
Returns the user info array
getNotificationName
in file Notification.php, method
Event_Notification::getNotificationName()
Returns the notification name
getNotificationObject
in file Notification.php, method
Event_Notification::getNotificationObject()
Returns the contained object
getObservers
in file Dispatcher.php, method
Event_Dispatcher::getObservers()
Get all observers, that have been registered for a notification
top
i
increaseNotificationCount
in file Notification.php, method
Event_Notification::increaseNotificationCount()
Increase the internal count
isNotificationCancelled
in file Notification.php, method
Event_Notification::isNotificationCancelled()
Checks whether the notification has been cancelled
top
m
MyNotification
in file notification-class.php, class
MyNotification
custom notification class
top
n
Notification.php
procedural page
Notification.php
notification-class.php
procedural page
notification-class.php
top
o
observerRegistered
in file Dispatcher.php, method
Event_Dispatcher::observerRegistered()
Check, whether the specified observer has been registered with the dispatcher
object.php
procedural page
object.php
top
p
post
in file Dispatcher.php, method
Event_Dispatcher::post()
Creates and posts a notification object
postNotification
in file Dispatcher.php, method
Event_Dispatcher::postNotification()
Posts the Event_Notification object
top
r
removeNestedDispatcher
in file Dispatcher.php, method
Event_Dispatcher::removeNestedDispatcher()
remove a nested dispatcher
removeObserver
in file Dispatcher.php, method
Event_Dispatcher::removeObserver()
Removes a registered observer that correspond to the given criteria
receiver
in file notification-class.php, function
receiver()
receiver1
in file bubbling.php, function
receiver1()
example observer
receiver2
in file bubbling.php, function
receiver2()
example observer
receiver3
in file bubbling.php, function
receiver3()
example observer
top
s
setNotificationClass
in file Dispatcher.php, method
Event_Dispatcher::setNotificationClass()
Changes the class used for notifications
sender
in file notification-class.php, method
sender::sender()
sender
in file notification-class.php, class
sender
example sender
top
Documentation generated on Mon, 11 Mar 2019 15:32:31 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.