RT 4.0.24 Documentation

This version has reached its end of life and is out of support. Please contact us for upgrade assistance.

RT::Condition

Go to latest version →

NAME

  RT::Condition - generic baseclass for scrip condition;

SYNOPSIS

    use RT::Condition;
    my $foo = RT::Condition->new( 
                TransactionObj => $tr, 
                TicketObj => $ti, 
                ScripObj => $scr, 
                Argument => $arg, 
                Type => $type);

    if ($foo->IsApplicable) {
           # do something
    }

DESCRIPTION

METHODS

Argument

Return the optional argument associated with this ScripCondition

TicketObj

Return the ticket object we're talking about

ScripObj

Return the Scrip object we're talking about

TransactionObj

Return the transaction object we're talking about

Type

← Back to index