Damien Krotkine > RT-Client-Console > RT::Client::Console::Session::Ticket

Download:
RT-Client-Console-0.2.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

CONSTRUCTORS ^

create

Create a new ticket. Displays input fields to the users.

load

Loads a new ticket, or if already created, make sure it's made visible. If needed, it adds it in the list of tickets.

input :

load_from_id

Given an id, loads a new ticket, or if already created, make sure it's made visible. If needed, it adds it in the list of tickets.

open_from_id

Given an id, simply returns the REST ticket, don't display it, nor add it to the tab, or list of loaded tickets.

new

Creates a new ticket object, even if it is already loaded. You probably don't want to use that. Use load instead

CLASS METHODS ^

get_tickets_list

Returns the list of loaded tickets.

get_current_ticket

get_current_id

set_current_ticket

set_current_id

next

show the next ticket from the list

next

show the previous ticket from the list

METHODS ^

set_changed

set the "changed" status of a ticket

has_changed

Return true if the ticket has been changed and needs to be saved

unload

unload a ticket

syntax highlighting: