From 64b415868291f05aa407811b29b1a1a885b6de38 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 18 Mar 2022 11:41:24 -0300 Subject: [PATCH] Bug 29695: Add missing POD Signed-off-by: Tomas Cohen Arazi --- Koha/Database/Columns.pm | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/Koha/Database/Columns.pm b/Koha/Database/Columns.pm index 9dda04311c..5fa7075de2 100644 --- a/Koha/Database/Columns.pm +++ b/Koha/Database/Columns.pm @@ -15,6 +15,9 @@ package Koha::Database::Columns; # You should have received a copy of the GNU General Public License # along with Koha; if not, see . +use Modern::Perl; +use Koha::I18N qw( __ ); + =head1 NAME Koha::Database::Columns @@ -22,13 +25,36 @@ Koha::Database::Columns =head1 SYNOPSIS use Koha::Database::Columns; + my $columns = Koha::Database::Columns->columns; -=head1 FUNCTIONS +=head1 API -=cut +=head2 Methods -use Modern::Perl; -use Koha::I18N qw( __ ); +=head3 columns + +Static method that returns a hashref with mappings from column names +to descriptions, for several tables. Currently + +=over + +=item biblio + +=item biblioitems + +=item borrowers + +=item items + +=item statistics + +=item subscription + +=item suggestion + +=back + +=cut sub columns { return { -- 2.32.0