NAME
App::TimeClock::PrinterInterface
DESCRIPTION
Interface class. All printer objects given to App::TimeClock::DailyReport constructor must be derived from PrinterInterface.
SYNOPSIS
package App::TimeClock::MyPrinter;
our @ISA = qw(App::TimeClock::PrinterInterface);
...
sub print_header {
...
}
sub print_day {
...
}
sub print_footer {
...
}
METHODS
- new()
-
Creates a new object.
- print_header()
-
Called once at the start of a report.
- print_day()
-
Called for each day in the report.
-
Called once at the end of a report.
AUTHOR
Søren Lund, <soren at lund.org>
SEE ALSO
COPYRIGHT
Copyright (C) 2012 Søren Lund
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version.
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.
A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.