You are viewing documentation for RT 4.4.2, 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.
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
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