PHP 클래스 Horde_Alarm_Handler_Notify, horde

저자: Jan Schneider ([email protected])
상속: extends Horde_Alarm_Handler
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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