Christine Spang > Net-Trac > Net::Trac::TicketHistory

Download:
Net-Trac-0.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Source  

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.

syntax highlighting: