RT::Template - RT's template object
use RT::Template;
Takes the name of a table column. Returns its value as a string, if the user passes an ACL check
Load a template, either by number or by name
Load the global tempalte with the name NAME
Loads the Queue template named NAME for Queue QUEUE.
Takes a paramhash of Content, Queue, Name and Description. Name should be a unique string identifying this Template. Description and Content should be the template's title and content. Queue should be 0 for a global template and the queue # for a queue-specific template.
Returns the Template's id # if the create was successful. Returns undef for unknown database failure.
Delete this template.
This routine performs Text::Template parsing on the template and then imports the results into a MIME::Entity so we can really use it It returns a tuple of (val, message) If val is 0, the message contains an error message
Helper function to call the template's queue's CurrentUserHasQueueRight with the passed in args.