PHP Class Horde_Core_Alarm_Handler_Desktop, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Alarm_Handler
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_icon string An icon URL.
$_jsNotify callback A notification callback.

Méthodes publiques

Méthode 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 méthode

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 méthode

Returns a human readable description of the handler.
public getDescription ( ) : string
Résultat string

notify() public méthode

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
Résultat string

$_jsNotify protected_oe property

A notification callback.
protected callback $_jsNotify
Résultat callback