\Horde_Core_Alarm_Handler_Desktop

The Horde_Alarm_Handler_Desktop class is a Horde_Alarm handler that notifies of active alarms by desktop notification through webkit browsers.

Summary

Methods
Properties
Constants
__construct()
notify()
getDescription()
No public properties found
No constants found
No protected methods found
$_jsNotify
$_icon
N/A
No private methods found
No private properties found
N/A

Properties

$_jsNotify

$_jsNotify : callback

A notification callback.

Type

callback

$_icon

$_icon : string

An icon URL.

Type

string

Methods

__construct()

__construct(array  $params = null) 

Constructor.

Parameters

array $params

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.

notify()

notify(array  $alarm) 

Notifies about an alarm through javascript.

Parameters

array $alarm

An alarm hash.

getDescription()

getDescription() : string

Returns a human readable description of the handler.

Returns

string