PHP Class Horde_Notification_Handler_Decorator_Alarm, 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])
Inheritance: extends Horde_Notification_Handler_Decorator_Base
显示文件 Open project: horde/horde

Protected Properties

Property Type Description
$_alarm Horde_Core_Factory_Alarm A Horde_Alarm instance.
$_user string The current user.

Public Methods

Method Description
__construct ( object $alarm, string $user ) Initialize the notification system, set up any needed session variables, etc.
notify ( Horde_Notification_Handler $handler, Horde_Notification_Listener $listener ) Listeners are handling their messages.

Method Details

__construct() public method

Initialize the notification system, set up any needed session variables, etc.
public __construct ( object $alarm, string $user )
$alarm object An alarm factory that implements create().
$user string The current username.

notify() public method

Listeners are handling their messages.
public notify ( Horde_Notification_Handler $handler, Horde_Notification_Listener $listener )
$handler Horde_Notification_Handler The base handler object.
$listener Horde_Notification_Listener The Listener object that is handling its messages.

Property Details

$_alarm protected_oe property

A Horde_Alarm instance.
protected Horde_Core_Factory_Alarm $_alarm
return Horde_Core_Factory_Alarm

$_user protected_oe property

The current user.
protected string $_user
return string