|
Lines 25-30
use Koha::Reports;
Link Here
|
| 25 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
25 |
use Koha::DateUtils qw( dt_from_string output_pref ); |
| 26 |
|
26 |
|
| 27 |
use base qw(Koha::Object); |
27 |
use base qw(Koha::Object); |
|
|
28 |
# |
| 29 |
# FIXME We could only return an error code instead of the arrayref |
| 30 |
# Only 1 error is returned |
| 31 |
# TODO Koha::Report->store should check this before saving |
| 28 |
|
32 |
|
| 29 |
=head1 NAME |
33 |
=head1 NAME |
| 30 |
|
34 |
|
|
Lines 34-44
Koha::Report - Koha Report Object class
Link Here
|
| 34 |
|
38 |
|
| 35 |
=head2 Class Methods |
39 |
=head2 Class Methods |
| 36 |
|
40 |
|
| 37 |
=cut |
|
|
| 38 |
|
| 39 |
# FIXME We could only return an error code instead of the arrayref |
| 40 |
# Only 1 error is returned |
| 41 |
# TODO Koha::Report->store should check this before saving |
| 42 |
=head3 is_sql_valid |
41 |
=head3 is_sql_valid |
| 43 |
|
42 |
|
| 44 |
my ( $is_sql_valid, $errors ) = $report->is_sql_valid; |
43 |
my ( $is_sql_valid, $errors ) = $report->is_sql_valid; |
| 45 |
- |
|
|