RT 5.0.6 Documentation
RT::Condition
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