Hermes_Driver_sqlHermes storage implementation for PHP's PEAR database abstraction layer.
$Horde: hermes/lib/Driver/sql.php,v 1.67 2008/05/26 01:31:16 chuck Exp $
Required values for $params:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.).
Required by some database implementations:
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'database' The name of the database.
'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/drivers/hermes.sql script.
Located in /lib/Driver/sql.php (line 26)
Hermes_Driver | --Hermes_Driver_sql
Constructor Hermes_Driver_sql (line 55)
Constructs a new SQL storage object.
deleteDeliverable (line 565)
deleteJobType (line 450)
enterTime (line 78)
Save a row of billing information.
getClientSettings (line 607)
getHours (line 184)
listDeliverables (line 510)
listJobTypes (line 370)
markAs (line 336)
purge (line 675)
updateClientSettings (line 643)
updateDeliverable (line 463)
updateJobType (line 416)
updateTime (line 133)
Update a set of billing information.
The billing information to enter. Each array row must contain the following entries: 'id' The id of this time entry. 'date' The day the hours were worked (ISO format) 'client' The id of the client the work was done for. 'type' The type of work done. 'hours' The number of hours worked 'rate' The hourly rate the work was done at. 'billable' Whether or not the work is billable hours. 'description' A short description of the work.
If any rows contain a 'delete' entry, those rows will be deleted instead of updated.
_connect (line 694)
Attempts to open a persistent connection to the SQL server.
_disconnect (line 738)
Disconnect from the SQL server and clean up the connection.
Inherited From Hermes_Driver
Hermes_Driver::deleteDeliverable()
Hermes_Driver::factory()
Hermes_Driver::getDeliverableByID()
Hermes_Driver::getJobTypeByID()
Hermes_Driver::listDeliverables()
Hermes_Driver::listJobTypes()
Hermes_Driver::singleton()
Hermes_Driver::updateDeliverable()
Hermes_Driver::updateJobType()
Documentation generated on Sun, 30 Jan 2011 05:25:49 +0000 by phpDocumentor 1.4.3