Class Horde_Alarm_Handler_Mail
The Horde_Alarm_Handler_Mail class is a Horde_Alarm handler that notifies
of active alarms by e-mail.
-
Horde_Alarm_Handler
-
Horde_Alarm_Handler_Mail
Methods summary
public
|
#
__construct( array $params = null )
Constructor.
Parameters
- $params
- <p>Any parameters that the handler might need.
Required parameter:
- identity: An identity factory that implements
create().
- mail: A Horde_Mail_Transport instance.</p>
Throws
|
public
|
#
notify( array $alarm )
Notifies about an alarm by e-mail.
Notifies about an alarm by e-mail.
Parameters
Throws
|
public
|
#
reset( array $alarm )
Resets the internal status of the handler, so that alarm notifications
are sent again.
Resets the internal status of the handler, so that alarm notifications
are sent again.
Parameters
Overrides
|
public
string
|
#
getDescription( )
Returns a human readable description of the handler.
Returns a human readable description of the handler.
Returns
string
|
public
array
|
#
getParameters( )
Returns a hash of user-configurable parameters for the handler.
Returns a hash of user-configurable parameters for the handler.
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.
Returns
array
Overrides
|