PHP Класс Horde_Alarm_Handler_Notify, horde

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

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

Свойство Тип Описание
$_notification object A notification handler injector.
$_soundPlayed boolean Whether a sound already had been played during the page request.

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

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

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

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

Constructor.
public __construct ( array $params = null )
$params array Any parameters that the handler might need. Required parameter: - notification: (object) A factory that implements create() and returns a Notification object.

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

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

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

The parameters are hashes with parameter names as keys and parameter information as values. The parameter information is a hash with the following keys: - type: the parameter type as a preference type. - desc: a parameter description. - required: whether this parameter is required.
public getParameters ( ) : array
Результат array

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

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

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

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

A notification handler injector.
protected object $_notification
Результат object

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

Whether a sound already had been played during the page request.
protected bool $_soundPlayed
Результат boolean