Bugzilla – Attachment 131925 Details for
Bug 29695
Centralize columns' descriptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29695: Add missing POD
Bug-29695-Add-missing-POD.patch (text/plain), 1.36 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-03-18 15:15:41 UTC
(
hide
)
Description:
Bug 29695: Add missing POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-03-18 15:15:41 UTC
Size:
1.36 KB
patch
obsolete
>From 64b415868291f05aa407811b29b1a1a885b6de38 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 18 Mar 2022 11:41:24 -0300 >Subject: [PATCH] Bug 29695: Add missing POD > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 <http://www.gnu.org/licenses>. > >+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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29695
:
128522
|
128523
|
128524
|
128525
|
128526
|
128527
|
128528
|
128529
|
128559
|
128560
|
128561
|
128562
|
128563
|
128564
|
128565
|
130065
|
130066
|
130067
|
130068
|
130069
|
130070
|
130071
|
130107
|
130108
|
130109
|
130110
|
130111
|
130112
|
130113
|
131918
|
131919
|
131920
|
131921
|
131922
|
131923
|
131924
| 131925