The Horde_Alarm_sql:: class is a Horde_Alarm storage implementation using the PEAR DB package.
Required values for $params:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.). 'charset' The database's internal charset.
Optional values for $params:
'table' The name of the foo table in 'database'. Required by some database implementations:'database' The name of the database. 'hostspec' The hostname of the database server. 'protocol' The communication protocol ('tcp', 'unix', etc.). 'username' The username with which to connect to the database. 'password' The password associated with 'username'. 'options' Additional options to pass to the database. 'tty' The TTY on which to connect to the database. 'port' The port on which to connect to the database.The table structure can be created by the scripts/sql/horde_alarm.sql script.
Located in /Alarm/Alarm/sql.php (line 41)
Horde_Alarm | --Horde_Alarm_sql
Handle for the current database connection.
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database is not required.
Inherited from Horde_Alarm
Horde_Alarm::$_errormsg
Horde_Alarm::$_params
Constructs a new SQL storage object.
Attempts to open a connection to the SQL server.
Adds an alarm hash to the backend.
Deletes an alarm from the backend.
Dismisses an alarm.
Returns whether an alarm with the given id exists already.
Fetches all alarms from a DB result set.
Converts a value from the driver's charset.
Garbage collects old alarms in the backend.
Returns an alarm hash from the backend.
Returns a list of all global alarms from the backend.
Updates internal alarm properties, i.e. properties not determined by the application setting the alarm.
Returns whether an alarm is snoozed.
Returns a list of alarms from the backend.
Delays (snoozes) an alarm for a certain period.
Converts a value to the driver's charset.
Updates an alarm hash in the backend.
Inherited From Horde_Alarm
Horde_Alarm::Horde_Alarm()
Horde_Alarm::delete()
Horde_Alarm::exists()
Horde_Alarm::factory()
Horde_Alarm::gc()
Horde_Alarm::get()
Horde_Alarm::globalAlarms()
Horde_Alarm::isSnoozed()
Horde_Alarm::listAlarms()
Horde_Alarm::load()
Horde_Alarm::notificationMethods()
Horde_Alarm::notify()
Horde_Alarm::set()
Horde_Alarm::snooze()
Horde_Alarm::_add()
Horde_Alarm::_delete()
Horde_Alarm::_exists()
Horde_Alarm::_fromDriver()
Horde_Alarm::_get()
Horde_Alarm::_internal()
Horde_Alarm::_isSnoozed()
Horde_Alarm::_list()
Horde_Alarm::_mail()
Horde_Alarm::_notify()
Horde_Alarm::_popup()
Horde_Alarm::_sms()
Horde_Alarm::_snooze()
Horde_Alarm::_toDriver()
Horde_Alarm::_update()
Documentation generated on Sun, 30 Jan 2011 05:21:58 +0000 by phpDocumentor 1.4.3