PHP Class Horde_Core_Alarm_Handler_Desktop, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Alarm_Handler
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_icon string An icon URL.
$_jsNotify callback A notification callback.

Public Methods

Method Description
__construct ( array $params = null ) Constructor.
getDescription ( ) : string Returns a human readable description of the handler.
notify ( array $alarm ) Notifies about an alarm through javascript.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = null )
$params array Any parameters that the handler might need. Required parameter: - js_notify: A Horde_Notification_Handler instance. Optional parameter: - icon: URL of an icon to display. @todo Change this to be dynamically generated when needed.

getDescription() public method

Returns a human readable description of the handler.
public getDescription ( ) : string
return string

notify() public method

Notifies about an alarm through javascript.
public notify ( array $alarm )
$alarm array An alarm hash.

Property Details

$_icon protected_oe property

An icon URL.
protected string $_icon
return string

$_jsNotify protected_oe property

A notification callback.
protected callback $_jsNotify
return callback