Add an event to the Horde message stack.
public push ( mixed $event, string $type = null, array $flags = [], array $options = [] ) | ||
$event | mixed | Horde_Notification_Event object or message string. |
$type | string | The type of message. |
$flags | array | Array of optional flags that will be passed to the registered listeners. |
$options | array | Additional options:
'immediate' - (boolean) If true, immediately tries to attach to a listener. If no listener exists for this type, the message will be dropped. DEFAULT: false (message will be attached to available handler at the time notify() is called). |