RT::Interface::Web
Takes extra options to pass to HTML::Mason::ApacheHandler->new Returns a new Mason::ApacheHandler object
Returns a new Mason::CGIHandler object
does a css-busting but minimalist escaping of whatever html you're passing in.
Different web servers set different environmental varibles. This function must return something suitable for REMOTE_USER. By default, just downcase $ENV{'REMOTE_USER'}
Returns a hash of user attributes, used when WebExternalAuto is set.
loc is a nice clean global routine which calls $session{'CurrentUser'}->loc() with whatever it's called with. If there is no $session{'CurrentUser'}, it creates a temporary user, so we have something to get a localisation handle through
loc_fuzzy is for handling localizations of messages that may already contain interpolated variables, typically returned from libraries outside RT's control. It takes the message string and extracts the variable array automatically by matching against the candidate entries inside the lexicon file.
Create a new ticket, using Mason's %ARGS. returns @results.
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.
Takes a paramhash Subject, Body and AttachmentFieldName.
Returns a MIME::Entity.
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
Takes a date in an arbitrary format. Returns an ISO date and time in GMT
@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
Returns an array of results messages.
Returns an array of results messages.
Returns an array of results messages.
Returns an array of results messages.