Adminhelp Ticket

Vars | |
_interactions | The collection of interactions with this ticket. Use AddInteraction() or, preferably, admin_ticket_log() |
---|---|
closed_at | The time at which the ticket was closed |
heard_by_no_admins | If any admins were online when the ticket was initialized |
id | Unique ID of the ticket |
initiator | Semi-misnomer, it's the person who ahelped/was bwoinked |
initiator_ckey | The ckey of the initiator |
initiator_key_name | The key name of the initiator |
name | The current name of the ticket |
opened_at | The time at which the ticket was opened |
statclick | Statclick holder for the ticket |
state | The current state of the ticket |
ticket_counter | Static counter used for generating each ticket ID |
Procs | |
New | Call this on its own to create a ticket, don't manually assign current_ticket |
ticket_status | Renders the current status of the ticket into a displayable string |
Var Details
_interactions

The collection of interactions with this ticket. Use AddInteraction() or, preferably, admin_ticket_log()
closed_at

The time at which the ticket was closed
heard_by_no_admins

If any admins were online when the ticket was initialized
id

Unique ID of the ticket
initiator

Semi-misnomer, it's the person who ahelped/was bwoinked
initiator_ckey

The ckey of the initiator
initiator_key_name

The key name of the initiator
name

The current name of the ticket
opened_at

The time at which the ticket was opened
statclick

Statclick holder for the ticket
state

The current state of the ticket
ticket_counter

Static counter used for generating each ticket ID
Proc Details
New
Call this on its own to create a ticket, don't manually assign current_ticket
Arguments:
- msg - The title of the ticket: usually the ahelp text
- is_bwoink - Boolean operator, TRUE if this ticket was started by an admin PM
ticket_status
Renders the current status of the ticket into a displayable string