Net::Trac::TicketHistory.3pm

Langue: en

Version: 2009-06-05 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Net::Trac::TicketHistory - A Trac ticket's history

SYNOPSIS

     my $history = Net::Trac::TicketHistory->new( connection => $trac );
     $history->load( 13 );
 
     # Print the authors of all the changes to ticket #13
     for ( @{ $history->entries } ) {
         print $_->author, "\n";
     }
 
 

DESCRIPTION

This class represents a Trac ticket's history and is really just a collection of Net::Trac::TicketHistoryEntries.

ACCESSORS

connection

ticket

Returns the ID of the ticket whose history this object represents.

entries

Returns an arrayref of Net::Trac::TicketHistoryEntrys.

METHODS

load ID

Loads the history of the specified ticket.

LICENSE

Copyright 2008-2009 Best Practical Solutions.

This package is licensed under the same terms as Perl 5.8.8.