RT 4.4.5 Documentation
RT::URI::attribute
NAME
RT::URI::attribute - Internal URIs for linking to an RT::Attribute
DESCRIPTION
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.
METHODS
Much of the interface below is dictated by RT::URI and RT::URI::base.
Scheme
Return the URI scheme for attributes
LocalURIPrefix
Returns the site-specific prefix for a local attribute URI
IsLocal
Returns a true value, the attribute ID, if this object represents a local attribute, undef otherwise.
URIForObject RT::Attribute
Returns the URI for a local RT::Attribute object
ParseURI URI
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.
Object
Returns the object for this URI, if it's local. Otherwise returns undef.
HREF
If this is a local dashboard, return an HTTP URL for it.
Otherwise, return its URI.
AsString
Returns a description of this object
← Back to index