RT 5.0.3 Documentation
RT::SavedSearch - an API for saving and retrieving search form values.
SavedSearch is an object based on RT::SharedSetting that can belong to either an RT::User or an RT::Group. It consists of an ID, a description, and a number of search parameters.
An object of this class is called "search"
This is a class method because system-level saved searches aren't true
RT::SavedSearch objects but direct
STRING with all square brackets except those in
[_1] escaped, ready for passing as the first argument to
Returns the type of this search, e.g. 'Ticket'. Useful for denoting the saved searches that are relevant to a particular search page.
In the context of the current user, load a list of objects that could have searches saved under, including the current user and groups. This method considers both rights and group membership when creating the list of objects for saved searches.← Back to index