RT 4.2.12 Documentation

RT::Articles

Go to latest version →

AddRecord

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

Limit { FIELD => undef, OPERATOR => '=', VALUE => 'undef'}

Limit the result set. See DBIx::SearchBuilder docs In addition to the "normal" stuff, value can be an array.

LimitName { OPERATOR => 'LIKE', VALUE => undef }

Find all articles with Name fields which satisfy OPERATOR for VALUE

LimitSummary { OPERATOR => 'LIKE', VALUE => undef }

Find all articles with summary fields which satisfy OPERATOR for VALUE

LimitToParent ID

Limit the returned set of articles to articles which are children of article ID. This does not recurse.

LimitCustomField HASH

Limit the result set to articles which have or do not have the custom field value listed, using a left join to catch things where no rows match.

HASH needs the following fields: FIELD (A custom field id) or undef for any custom field ENTRYAGGREGATOR => (AND, OR) OPERATOR ('=', 'LIKE', '!=', 'NOT LIKE') VALUE ( a single scalar value or a list of possible values to be concatenated with ENTRYAGGREGATOR)

The subclause that the LIMIT statement(s) should be done in can also be passed in with a SUBCLAUSE parameter.

LimitRefersTo URI

Limit the result set to only articles which are referred to by the URI passed in.

LimitReferredToBy URI

Limit the result set to only articles which are referred to by the URI passed in.

LimitHostlistClasses

Only fetch Articles from classes where Hotlist is true.

LimitAppliedClasses Queue => QueueObj

Takes a Queue and limits articles returned to classes which are applied to that Queue

Accepts either a Queue obj or a Queue id

← Back to index