RT::Scrips - a collection of RT Scrip objects
use RT::Scrips;
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
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
Takes a RT::Template object and limits scrips to those that use the template.
Returns the next scrip that this user can see.
Run through the relevant scrips. Scrips will run in order based on description. (Most common use case is to prepend a number to the description, forcing the scrips to run in ascending alphanumerical order.)
Commit all of this object's prepared scrips
Only prepare the scrips, returning an array of the scrips we're interested in in order of preparation, not execution
Returns an arrayref of the scrips this object has prepared
Setup a ticket and transaction for this Scrip collection to work with as it runs through the relevant scrips. (Also to figure out which scrips apply)
Returns: nothing
Find only the apropriate scrips for whatever we're doing now. Order them by their description. (Most common use case is to prepend a number to the description, forcing the scrips to display and run in ascending alphanumerical order.)
← Back to index