RT::Interface::Web(3)

  NewParser
  Returns a new Mason::Parser object. Takes a param hash of things
  that get passed to HTML::Mason::Parser. Currently hard coded to only
  take the parameter 'allow_globals'.

  NewInterp
  Takes a paremeter hash. Needs a param called 'parser' which is a reference
  to an HTML::Mason::Parser.
  returns a new Mason::Interp object

  NewApacheHandler
  Takes a Mason::Interp object
  Returns a new Mason::ApacheHandler object

  NewMason11ApacheHandler
  Returns a new Mason::ApacheHandler object

  CreateTicket ARGS
Create a new ticket, using Mason's %ARGS. returns @results.

  LoadTicket id
Takes a ticket id as its only variable. if it's handed an array, it takes the first value.

Returns an RT::Ticket object as the current user.

  MakeMIMEEntity PARAMHASH
Takes a paramhash Subject, Body and AttachmentFieldName.

  Returns a MIME::Entity.

  ProcessSearchQuery
  Takes a form such as the one filled out in webrt/Search/Elements/PickRestriction and turns it into something that RT::Tickets can understand.

TODO Doc exactly what comes in the paramhash

  ParseDateToISO
Takes a date in an arbitrary format. Returns an ISO date and time in GMT

  UpdateRecordObj ( ARGSRef => \%ARGS, Object => RT::Record, AttributesRef => \@attribs)
@attribs is a list of ticket fields to check and update if they differ from the Object's current values. ARGSRef is a ref to HTML::Mason's %ARGS.

Returns an array of success/failure messages

  ProcessTicketBasics ( TicketObj => $Ticket, ARGSRef => \%ARGS );
Returns an array of results messages.

  ProcessTicketWatchers ( TicketObj => $Ticket, ARGSRef => \%ARGS );
Returns an array of results messages.

  ProcessTicketDates ( TicketObj => $Ticket, ARGSRef => \%ARGS );
Returns an array of results messages.

  ProcessTicketLinks ( TicketObj => $Ticket, ARGSRef => \%ARGS );
Returns an array of results messages.

  ProcessTicketObjectKeywords ( TicketObj => $Ticket, ARGSRef => \%ARGS );
Returns an array of results messages.