PHP Class Horde_Notification, horde

Copyright 2001-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Jan Schneider ([email protected])
显示文件 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_instances Horde_Notification Horde_Notification instances.

Public Methods

Method Description
singleton ( string $stack = 'horde_notification_stacks' ) Returns a reference to the global notification handler, only creating it if it doesn't already exist.

Method Details

singleton() public static method

This method must be invoked as: $notification = Horde_Notification::singleton([$stack]);
public static singleton ( string $stack = 'horde_notification_stacks' )
$stack string The name of the message stack to use. return Horde_Notification_Handler The Horde Notification handler.

Property Details

$_instances protected_oe static_oe property

Horde_Notification instances.
protected static Horde_Notification $_instances
return Horde_Notification