From 1684821b616ad91fb5668c30ed68d25299d3892c 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 Signed-off-by: Fridolin Somers --- 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.39.5