RT::CustomFields - a collection of RT CustomField objects
use RT::CustomFields;
Takes LookupType and limits collection.
Takes partial LookupType and limits collection to records where LookupType is equal or ends with the value.
Takes partial LookupType and limits collection to records where LookupType is equal or starts with the value.
Takes list of object IDs and limits collection to custom fields that are applied to these objects or globally.
Takes either list of object ids or nothing. Limits collection to custom fields to listed objects or any corespondingly. Use zero to mean global.
Limits collection to custom fields to listed objects or any corespondingly. Use zero to mean global.
DEPRECATED since CFs are applicable not only to tickets these days.
Limits the set of custom fields found to global custom fields or those tied to the queue with ID QUEUEID
DEPRECATED since CFs are applicable not only to tickets these days.
Takes a queue id (numerical) as its only argument. Makes sure that Scopes it pulls out apply to this queue (or another that you've selected with another call to this method
DEPRECATED since CFs are applicable not only to tickets these days.
Makes sure that Scopes it pulls out apply to all queues (or another that you've selected with another call to this method or LimitToQueue)
Sort custom fields according to thier order application to objects. It's expected that collection contains only records of one "LookupType" in RT::CustomField and applied to one object or globally ("LimitToGlobalOrObjectId"), otherwise sorting makes no sense.
Returns context object for this collection of custom fields, but only if it's defined.
Sets context object for this collection of custom fields.
Returns the next custom field that this user can see.
Returns an empty new RT::CustomField item Overrides <RT::SearchBuilder/NewItem> to make sure </ContextObject> is inherited.
← Back to index