\Horde_Alarm_Handler

The Horde_Alarm_Handler class is an interface for all Horde_Alarm handlers that notifies of active alarms.

Summary

Methods
Properties
Constants
notify()
reset()
getDescription()
getParameters()
$alarm
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$alarm

$alarm : 

The alarm object to that this handler is attached.

Horde_Alarm

Type

Methods

notify()

notify(array  $alarm) 

Notifies about an alarm.

Parameters

array $alarm

An alarm hash.

Throws

\Horde_Alarm_Exception

reset()

reset(array  $alarm) 

Resets the internal status of the handler, so that alarm notifications are sent again.

Parameters

array $alarm

An alarm hash.

getDescription()

getDescription() : string

Returns a human readable description of the handler.

Returns

string

getParameters()

getParameters() : array

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