RT 6.0.0 Documentation

RT::Templates

NAME

  RT::Templates - a collection of RT Template objects

SYNOPSIS

  use RT::Templates;

DESCRIPTION

METHODS

LimitToNotInObjectId

Takes an object id # and limits the returned set of templates to those which aren't that object's templates.

LimitToGlobal

Takes no arguments. Limits the returned set to "Global" templates which can be used with any object.

LimitToObjectId

Takes an object id # and limits the returned set of templates to that object's templates

LimitToLookupType LOOKUPTYPE

Takes LookupType and limits collection.

AddRecord

Overrides the collection to ensure that only templates the user can see are returned.

← Back to index