RT 3.8.17 Documentation

RT::Link Overlay

Go to latest version →

NAME

  RT::Link - an RT Link object

SYNOPSIS

  use RT::Link;

DESCRIPTION

This module should never be called directly by client code. it's an internal module which should only be accessed through exported APIs in Ticket other similar objects.

METHODS

Create PARAMHASH

Create a new link object. Takes 'Base', 'Target' and 'Type'. Returns undef on failure or a Link Id on success.

LoadByParams

  Load an RT::Link object from the database.  Takes three parameters
  
  Base => undef,
  Target => undef,
  Type =>undef
 
  Base and Target are expected to be integers which refer to Tickets or URIs
  Type is the link type

Load

  Load an RT::Link object from the database.  Takes one parameter, the id of an entry in the links table.

TargetURI

returns an RT::URI object for the "Target" of this link.

TargetObj

BaseURI

returns an RT::URI object for the "Base" of this link.

BaseObj

← Back to index