Whups_DriverBase class for Whups' storage backend.
$Horde: whups/lib/Driver.php,v 1.200.2.6 2009/09/07 10:09:11 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.php (line 20)
| Class | Description |
|---|---|
Whups_Driver_sql
|
Whups_Driver_sql class - implements a Whups backend for the PEAR::DB abstraction layer. |
void
mail
(integer $ticket_id, array $recipients, string $subject, string $message, string $from, boolean $reminder, [integer $queue_id = null], [boolean $is_new = false])
Constructor Whups_Driver (line 29)
deleteQueue (line 288)
Deletes a queue.
Should be called by driver subclasses after successful removal from the backend. Takes only care of cleaning up queue permissions.
deleteReply (line 306)
Deletes a form reply.
Should be called by driver subclasses after successful removal from the backend. Takes only care of cleaning up reply permissions.
factory (line 549)
Attempts to return a concrete Whups_Driver instance based on $driver.
filterTicketsByState (line 318)
formatComments (line 522)
Converts a changeset array to a plain text comment snippet.
getAllTicketAttributesWithNames (line 258)
Returns the attributes for a specific ticket.
This method will check if external attributes need to be fetched from hooks or whether to use the standard ones defined within Whups.
getAttributesForType (line 229)
Returns the attributes for a specific ticket type.
This method will check if external attributes need to be fetched from hooks or whether to use the standard ones defined within Whups.
getCategories (line 211)
getHistory (line 54)
getQueue (line 143)
getQueues (line 151)
getVersion (line 203)
getVersionInfo (line 158)
getVersions (line 167)
Returns a hash of versions suitable for select lists.
mail (line 351)
Sends email notifications to a list of recipients.
We do some ugly work in here to make sure that no one gets comments mailed to them that they shouldn't see (because of group permissions).
setAttributes (line 36)
Documentation generated on Sun, 30 Jan 2011 05:41:41 +0000 by phpDocumentor 1.4.3