RT::URI::attribute - Internal URIs for linking to an RT::Attribute
This class should rarely be used directly, but via RT::URI instead.
Represents, parses, and generates internal RT URIs such as:
attribute:42
attribute://example.com/42
These URIs are used to link between objects in RT such as associating an attribute with another attribute.
Much of the interface below is dictated by RT::URI and RT::URI::base.
Return the URI scheme for attributes
Returns the site-specific prefix for a local attribute URI
Returns a true value, the attribute ID, if this object represents a local attribute, undef otherwise.
Returns the URI for a local RT::Attribute object
Primarily used by RT::URI to set internal state.
Figures out from an attribute:
URI whether it refers to a local attribute and the attribute ID.
Returns the attribute ID if local, otherwise returns false.
Returns the object for this URI, if it's local. Otherwise returns undef.
If this is a local dashboard, return an HTTP URL for it.
Otherwise, return its URI.
Returns a description of this object
← Back to index