JavaScript Editor Javascript validator     Web page editor 



Event_Dispatcher::setNotificationClass()

Event_Dispatcher::setNotificationClass() -- Set the class that is used as notification.

Synopsis

require_once 'Event/Dispatcher.php';

bool Event_Dispatcher::setNotificationClass (string $class)

Description

Set the name of the class that will be used as a notification object when post() is called.

You may call this method on an object to change it for a single dispatcher or statically, to set the default for all dispatchers that will be created.

Parameter

Return value

This method always returns true.

Note

This function can be called statically.




JavaScript Editor Javascript validator     Web page editor