\Horde_Notification

The Horde_Notification:: class provides a subject-observer pattern for raising and showing messages of different types and to different listeners.

Copyright 2001-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
singleton()
No public properties found
No constants found
No protected methods found
$_instances
N/A
No private methods found
No private properties found
N/A

Properties

$_instances

$_instances : \Horde_Notification

Horde_Notification instances.

Type

\Horde_Notification

Methods

singleton()

singleton(string  $stack = 'horde_notification_stacks') 

Returns a reference to the global notification handler, only creating it if it doesn't already exist.

This method must be invoked as: $notification = Horde_Notification::singleton([$stack]);

Parameters

string $stack

The name of the message stack to use.

return Horde_Notification_Handler The Horde Notification handler.