<<

Bugzilla::Search::Saved

NAME

Bugzilla::Search::Saved - A saved search

SYNOPSIS

 use Bugzilla::Search::Saved;

 my $query = new Bugzilla::Search::Saved($query_id);

 my $edit_link  = $query->edit_link;
 my $search_url = $query->url;
 my $owner      = $query->user;

DESCRIPTION

This module exists to represent a Bugzilla::Search that has been saved to the database.

This is an implementation of Bugzilla::Object, and so has all the same methods available as Bugzilla::Object, in addition to what is documented below.

METHODS

Constructors and Database Manipulation

new

Does not accept a bare name argument. Instead, accepts only an id.

See also: "new" in Bugzilla::Object.

Accessors

These return data about the object, without modifying the object.

edit_link

A url with which you can edit the search.

url

The CGI parameters for the search, as a string.

link_in_footer

Whether or not this search should be displayed in the footer for the current user (not the owner of the search, but the person actually using Bugzilla right now).

bug_ids_only

True if the search contains only a list of Bug IDs.

shared_with_group

The Bugzilla::Group that this search is shared with. undef if this search isn't shared.

<<