You are viewing documentation for RT 5.0.7, an older supported release. The current release is 6.0.4 (view the current version of this page).
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