You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
LocalURIPrefix
Returns the prefix for a local URI.
ObjectType
URIForObject RT::Record
Returns the RT URI for a local RT::Record object
ParseURI URI
When handed an fsck.com-rt: URI, figures out things like whether its a local record and what its ID is
IsLocal
Returns true if this URI is for a local ticket. Returns undef otherwise.
Object
Returns the object for this URI, if it's local. Otherwise returns undef.
Scheme
Return the URI scheme for RT records
HREF
If this is a local ticket, return an HTTP url to it. Otherwise, return its URI
AsString
Returns either a localized string #23: Subject for tickets, ObjectType #13: Name for other object types (not really used), or the full URI if the object is not local.