RT 4.0.25 Documentation

This version has reached its end of life and is out of support. Please contact us for upgrade assistance.

RT::URI::fsck com rt

Go to latest version →

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 'ticket #23' or the full URI if the object is not local

← Back to index