PHP Класс Horde_Alarm_Handler_Desktop, horde

Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Alarm_Handler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_icon string An icon URL.
$_jsNotify callback A notification callback.

Открытые методы

Метод Описание
__construct ( array $params = null ) Constructor.
getDescription ( ) : string Returns a human readable description of the handler.
notify ( array $alarm ) Notifies about an alarm through javascript.

Описание методов

__construct() публичный Метод

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.

getDescription() публичный Метод

Returns a human readable description of the handler.
public getDescription ( ) : string
Результат string

notify() публичный Метод

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

Описание свойств

$_icon защищенное свойство

An icon URL.
protected string $_icon
Результат string

$_jsNotify защищенное свойство

A notification callback.
protected callback $_jsNotify
Результат callback