PHP 클래스 Horde_Alarm_Handler_Mail, horde

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_identity Horde_Core_Factory_Identity An identity factory.
$_mail Horde_Mail_Transport A Horde_Mail_Transport object.

공개 메소드들

메소드 설명
__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 by e-mail.
reset ( array $alarm ) Resets the internal status of the handler, so that alarm notifications are sent again.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = null )
$params array Any parameters that the handler might need. Required parameter: - identity: An identity factory that implements create(). - mail: A Horde_Mail_Transport instance.

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 by e-mail.
public notify ( array $alarm )
$alarm array An alarm hash.

reset() 공개 메소드

Resets the internal status of the handler, so that alarm notifications are sent again.
public reset ( array $alarm )
$alarm array An alarm hash.

프로퍼티 상세

$_identity 보호되어 있는 프로퍼티

An identity factory.
protected Horde_Core_Factory_Identity $_identity
리턴 Horde_Core_Factory_Identity

$_mail 보호되어 있는 프로퍼티

A Horde_Mail_Transport object.
protected Horde_Mail_Transport $_mail
리턴 Horde_Mail_Transport