Whups_Driver_sqlWhups_Driver_sql class - implements a Whups backend for the PEAR::DB abstraction layer.
$Horde: whups/lib/Driver/sql.php,v 1.306.2.8 2010/04/29 22:53:45 jan Exp $
Copyright 2001-2002 Robert E. Coyle <robertecoyle@hotmail.com> Copyright 2001-2009 The Horde Project (http://www.horde.org/)
See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.
Located in /lib/Driver/sql.php (line 18)
Whups_Driver | --Whups_Driver_sql
void
getListeners
( $ticket, [ $withowners = true], [ $withrequester = true], [ $withresponsible = false])
void
updateQueue
( $queueId, $name, $description, $types, $versioned, [ $slug = ''], [ $email = ''], [ $default = null])
DB
$_db
(line 25)
The database connection object.
array
$_map
= array('id' => 'ticket_id',A mapping of attributes from generic Whups names to DB backend fields.
DB
$_write_db
(line 33)
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 Whups_Driver
Whups_Driver::$_params
addAttributeDesc (line 2478)
addComment (line 402)
addListener (line 2385)
addPriority (line 168)
addQueue (line 65)
Adds a new queue to the backend.
addQueueUser (line 1578)
addReply (line 248)
Adds a form reply to the backend.
addState (line 136)
addTicket (line 278)
addTicketOwner (line 491)
addType (line 107)
addVersion (line 208)
Adds a new version to the specified queue.
deleteAttributeDesc (line 2544)
deleteHistory (line 1200)
Deletes all changes of a transaction.
deleteListener (line 2404)
deletePriority (line 2199)
deleteQuery (line 2041)
Delete query details.
deleteQueue (line 1488)
deleteReply (line 2369)
Deletes a form reply from the backend.
deleteState (line 1962)
deleteTicket (line 503)
deleteTicketOwner (line 497)
deleteType (line 1770)
deleteVersion (line 2275)
executeQuery (line 548)
getAllAttributes (line 2569)
getAllPriorityInfo (line 2064)
getAllStateInfo (line 1890)
getAllTypeInfo (line 1719)
getAllTypes (line 1704)
getAttributeDesc (line 2587)
getAttributeInfoForType (line 2714)
getAttributeName (line 2621)
getAttributeNamesForType (line 2692)
getDb (line 3001)
Return the db object we're using.
return DB Database object.
getDefaultPriority (line 2163)
getDefaultState (line 1928)
getDefaultType (line 1471)
getGuestEmail (line 1120)
getListeners (line 2423)
getOwners (line 2891)
getPriorities (line 2083)
getPriority (line 2118)
getQuery (line 1980)
Retrieve query details.
getQueueBySlugInternal (line 1348)
getQueueInternal (line 1312)
getQueuesInternal (line 1376)
getQueueSummary (line 1283)
Return a list of queues with open tickets, and the number of open tickets in each.
getQueueUsers (line 1560)
getReplies (line 2293)
Returns all available form replies for a ticket type.
getReply (line 2319)
Returns a form reply information hash.
getState (line 1863)
getStates (line 1803)
getTicketAttributes (line 2772)
getTicketAttributesWithNames (line 2809)
getTicketDetails (line 1077)
getTicketsByProperties (line 815)
getTicketState (line 1102)
getType (line 1647)
getTypeIds (line 1692)
getTypeName (line 1736)
getTypes (line 1672)
getVersionInfoInternal (line 2210)
getVersionInternal (line 2230)
initialise (line 3008)
isCategory (line 2052)
newTransaction (line 2970)
Create a new transaction id for associating related entries in the whups_logs table.
removeQueueUser (line 1600)
saveQuery (line 2006)
Save query details, inserting a new query row if necessary.
setDefaultPriority (line 2175)
setDefaultState (line 1940)
updateAttributeDesc (line 2519)
updateLog (line 2921)
updatePriority (line 2146)
updateQueue (line 1399)
updateQueueUsers (line 1612)
updateReply (line 2344)
Updates a form reply in the backend.
updateState (line 1910)
updateTicket (line 458)
Update any details of a ticket that are stored in the main
whups_tickets table. Does not update the ticket log (so that it can be used for things low-level enough to not show up there. In general, you should *always* update the log; Whups_Ticket::commit() will take care of this in most cases).
updateType (line 1754)
updateTypesQueues (line 1513)
updateVersion (line 2257)
_addDateWhere (line 3144)
_addWhere (line 3131)
_clauseFromQuery (line 590)
_concatClauses (line 607)
_criterionClause (line 639)
_generateWhere (line 3066)
_getAllTicketAttributesWithNames (line 2851)
_getAttributesForType (line 2640)
_getHistory (line 1141)
_mapFields (line 3112)
_notClause (line 628)
_prefixTableToColumns (line 3161)
_setAttributeValue (line 2734)
Inherited From Whups_Driver
Whups_Driver::Whups_Driver()
Whups_Driver::deleteQueue()
Whups_Driver::deleteReply()
Whups_Driver::factory()
Whups_Driver::filterTicketsByState()
Whups_Driver::formatComments()
Whups_Driver::getAllTicketAttributesWithNames()
Whups_Driver::getAttributesForType()
Whups_Driver::getCategories()
Whups_Driver::getHistory()
Whups_Driver::getQueue()
Whups_Driver::getQueues()
Whups_Driver::getVersion()
Whups_Driver::getVersionInfo()
Whups_Driver::getVersions()
Whups_Driver::mail()
Whups_Driver::setAttributes()
Documentation generated on Sun, 30 Jan 2011 05:41:44 +0000 by phpDocumentor 1.4.3