Whups_TicketThe Whups_Ticket class encapsulates some logic relating to tickets, sending updates, etc.
$Horde: whups/lib/Ticket.php,v 1.100.2.1 2009/01/06 15:28:17 jan Exp $
Copyright 2004-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/Ticket.php (line 17)
static makeTicket (line 50)
Returns a ticket object for an id.
static newTicket (line 75)
Creates a new ticket.
Pretty bare wrapper around Whups_Driver::addTicket().
Constructor Whups_Ticket (line 152)
Constructor.
addAttachment (line 434)
Adds an attachment to this ticket.
addAttributes (line 852)
Adds ticket attribute values to the ticket's details, and returns the list of attributes.
addCommentPerms (line 544)
Sets exclusive read permissions on a comment to a certain group.
change (line 215)
Tracks that a detail of the ticket should change, but does not actually make the change until commit() is called.
commit (line 244)
Goes through a list of built-up changes and commits them to the backend.
This will send email updates by default, update the ticket log, etc.
deleteAttachment (line 482)
Removes an attachment from this ticket.
get (line 185)
Returns a piece of information from this ticket.
getDetails (line 163)
Returns all ticket information.
getId (line 173)
Returns the ticket id.
listAllAttachments (line 511)
Returns a list of all files that have been attached to this ticket, whether they still exist or not.
notify (line 598)
Notifies all appropriate people of the creation/update of this ticket.
set (line 201)
Changes a detail of the ticket to a new value.
Never touches the backend; do not use for changes that you want to persist.
setDetails (line 560)
Sets all properties of the ticket necessary to display the TicketDetailsForm.
show (line 532)
Redirects the browser to this ticket's view.
toString (line 801)
Returns a plain text representation of a ticket.
__toString (line 841)
Documentation generated on Sun, 30 Jan 2011 05:41:44 +0000 by phpDocumentor 1.4.3