Overview

Packages

  • Alarm

Classes

  • Horde_Alarm
  • Horde_Alarm_Exception
  • Horde_Alarm_Handler
  • Horde_Alarm_Handler_Desktop
  • Horde_Alarm_Handler_Mail
  • Horde_Alarm_Handler_Notify
  • Horde_Alarm_Null
  • Horde_Alarm_Object
  • Horde_Alarm_Sql
  • Horde_Alarm_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Alarm_Sql

The Horde_Alarm_sql class is a Horde_Alarm storage implementation using the PEAR DB package.

The table structure can be created by the horde/scripts/sql/horde_alarm.sql script.

Horde_Alarm
Extended by Horde_Alarm_Sql
Package: Alarm
Author: Jan Schneider jan@horde.org
Located at Horde/Alarm/Sql.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
Configuration parameters: <pre><span class="php-quote">'db'</span> - (Horde_Db_Adapter) [REQUIRED] The DB instance. <span class="php-quote">'table'</span> - (string) The name of the tokens table in <span class="php-quote">'database'</span>. <span class="php-keyword1">DEFAULT</span>: <span class="php-quote">'horde_alarms'</span></pre>

Throws

Horde_Alarm_Exception

Overrides

Horde_Alarm::__construct()
public
# internal( string $id, string $user, array $internal )

Updates internal alarm properties, i.e. properties not determined by the application setting the alarm.

Updates internal alarm properties, i.e. properties not determined by the application setting the alarm.

Parameters

$id
The alarm's unique id.
$user
The alarm's user
$internal
A hash with the internal data.

Throws

Horde_Alarm_Exception
public
# initialize( )

Initialization tasks.

Initialization tasks.

Throws

Horde_Alarm_Exception
Methods inherited from Horde_Alarm
addHandler(), delete(), exists(), gc(), get(), globalAlarms(), handlers(), isSnoozed(), listAlarms(), notify(), set(), snooze()
API documentation generated by ApiGen