Developer
User Docs ↗ Star uson GitHub
You are viewing documentation for RT 4.2.5, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.

NAME

  RT::Search - generic baseclass for searches;

SYNOPSIS

    use RT::Search;
    my $tickets = RT::Tickets->new($CurrentUser);
    my $foo = RT::Search->new(Argument => $arg,
                              TicketsObj => $tickets);
    $foo->Prepare();
    while ( my $ticket = $foo->Next ) {
        # Do something with each ticket we've found
    }

DESCRIPTION

METHODS

Argument

Return the optional argument associated with this Search

TicketsObj

Return the Tickets object passed into this search

Still need help?Get answers from the team behind Request Tracker.

← Back to index