Audit::DBI::TT2 - A Template Toolkit plugin to display audit events.
Version 1.7.1
use Audit::DBI::TT2;
Create a new Audit::DBI::TT2 object.
Format the following fields for display as HTML:
diff
(accessible as diff_formatted)
information
(accessible as information_formatted)
event_time
(accessible as event_time_formatted)
[% FOREACH result IN audit.format_results( results ) %] <div> Formatted information: [% result.information_formatted %]<br/> Formatted diff: [% result.diff_formatted %]<br/> Formatted event time: [% result.event_time_formatted %] </div> [% END %]
Format a data structure for display as HTML.
my $formatted_data = Audit::DBI::TT2::html_dumper( $data );
Guillaume Aubert, <aubertg at cpan.org>.
<aubertg at cpan.org>
Please report any bugs or feature requests through the web interface at https://github.com/guillaumeaubert/Audit-DBI/issues/new. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Audit::DBI::TT2
You can also look for information at:
GitHub's request tracker
https://github.com/guillaumeaubert/Audit-DBI/issues
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Audit-DBI
CPAN Ratings
http://cpanratings.perl.org/d/Audit-DBI
MetaCPAN
https://metacpan.org/release/Audit-DBI
Thanks to ThinkGeek (http://www.thinkgeek.com/) and its corporate overlords at Geeknet (http://www.geek.net/), for footing the bill while I write code for them!
Copyright 2010-2013 Guillaume Aubert.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
To install Audit::DBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audit::DBI
CPAN shell
perl -MCPAN -e shell install Audit::DBI
For more information on module installation, please visit the detailed CPAN module installation guide.