1 #$Header: /home/cvs/cvsroot/freeside/rt/lib/RT/Transactions.pm,v 1.1 2002-08-12 06:17:07 ivan Exp $
5 RT::Transactions - a collection of RT Transaction objects
19 ok (require RT::TestHarness);
20 ok (require RT::Transactions);
26 package RT::Transactions;
29 @ISA= qw(RT::EasySearch);
36 $self->{'table'} = "Transactions";
37 $self->{'primary_key'} = "id";
39 # By default, order by the date of the transaction, rather than ID.
40 $self->OrderBy( ALIAS => 'main',
44 return ( $self->SUPER::_Init(@_));
52 return(RT::Transaction->new($self->CurrentUser));
57 =head2 example methods
59 Queue RT::Queue or Queue Id
60 Ticket RT::Ticket or Ticket Id