Method |
Description |
|
addAttachment ( integer $ticket_id, string $name, string $data ) |
Adds an attachment to a ticket. |
|
addComment ( integer $ticket_id, string $comment, string $group = null ) : boolean |
Add a comment to a ticket. |
|
addQueue ( string $name ) : integer |
Create a new queue. |
|
addTicket ( array $ticket_info ) : integer |
Create a new ticket. |
|
addVersion ( integer $queue, string $name, string $description, boolean $active = true ) |
Add a version to a queue |
|
browse ( string $path = '' ) : array |
Browse through Whups' object tree. |
|
getAssignedTicketIds ( ) : array |
Return the ids of all open tickets assigned to the current user. |
|
getListTypes ( ) : array |
Get the types that Whups items can be listed as. |
|
getQueueDetails ( array | integer $queue ) : array |
Get details for a queue |
|
getRequestedTicketIds ( ) : array |
Return the ids of all open tickets that the current user created. |
|
getTicketDetails ( integer $queue_id, string $state = null ) : array |
Get the all tickets for a queue, optionally with a specific state. |
|
getVersionDetails ( integer $version_id ) : array |
Return the details for a queue version |
|
listAs ( string $type ) : array |
Get a list of items from whups as type $type. |
|
listCostObjects ( array $criteria ) : array |
List cost objects |
|
listQueues ( ) : array |
Return a list of queues that the current user has read permissions for |
|
listSlugs ( ) : array |
Return a list of slugs that the current user has read permissions for |
|
listTimeObjectCategories ( ) : array |
List the ways that tickets can be treated as time objects |
|
listTimeObjects ( array $categories, mixed $start, mixed $end ) |
Lists tickets with due dates as time objects. |
|
listVersions ( integer $queue ) : array |
List the versions associated with a queue |
|
setTicketAttributes ( $info ) |
Set attributes for a ticket |
|
updateTicket ( integer $ticket_id, array $ticket_info ) : boolean |
Update a ticket's properties. |
|