Bugzilla – Attachment 67159 Details for
Bug 18584
Our legacy code contains trailing-spaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13208: [FOLLOW-UP] Perl documentation for modules
Bug-13208-FOLLOW-UP-Perl-documentation-for-modules.patch (text/plain), 3.61 KB, created by
David Bourgault
on 2017-09-15 19:33:16 UTC
(
hide
)
Description:
Bug 13208: [FOLLOW-UP] Perl documentation for modules
Filename:
MIME Type:
Creator:
David Bourgault
Created:
2017-09-15 19:33:16 UTC
Size:
3.61 KB
patch
obsolete
>From 520e884a3f63bc5bbc86f88e4041185cf544d844 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Fri, 18 Aug 2017 03:23:55 +0000 >Subject: [PATCH] Bug 13208: [FOLLOW-UP] Perl documentation for modules > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: David Bourgault <david.bourgault@inlibro.com> > >https://bugs.koha-community.org/show_bug.cgi?id=18584 >--- > Koha/Acquisition/Basket.pm | 44 ++++++++++++++++++++++++++++++++++++++++++++ > Koha/Acquisition/Baskets.pm | 42 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 86 insertions(+) > >diff --git a/Koha/Acquisition/Basket.pm b/Koha/Acquisition/Basket.pm >index ae95d2c..3925fc6 100644 >--- a/Koha/Acquisition/Basket.pm >+++ b/Koha/Acquisition/Basket.pm >@@ -1,19 +1,63 @@ > package Koha::Acquisition::Basket; > >+# Copyright 2017 Aleisha Amohia <aleisha@catalyst.net.nz> >+# >+# This file is part of Koha. >+# >+# Koha 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; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha 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. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ > use Modern::Perl; > > use Koha::Database; > > use base qw( Koha::Object ); > >+=head1 NAME >+ >+Koha::Acquisition::Basket - Koha Basket Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 bookseller >+ >+Returns the vendor >+ >+=cut >+ > sub bookseller { > my ($self) = @_; > my $bookseller_rs = $self->_result->booksellerid; > return Koha::Acquisition::Bookseller->_new_from_dbic( $bookseller_rs ); > } > >+=head3 type >+ >+=cut >+ > sub _type { > return 'Aqbasket'; > } > >+=head1 AUTHOR >+ >+Aleisha Amohia <aleisha@catalyst.net.nz> >+Catalyst IT >+ >+=cut >+ > 1; >diff --git a/Koha/Acquisition/Baskets.pm b/Koha/Acquisition/Baskets.pm >index ebeb6c7..1e4def1 100644 >--- a/Koha/Acquisition/Baskets.pm >+++ b/Koha/Acquisition/Baskets.pm >@@ -1,5 +1,22 @@ > package Koha::Acquisition::Baskets; > >+# Copyright 2017 Aleisha Amohia <aleisha@catalyst.net.nz> >+# >+# This file is part of Koha. >+# >+# Koha 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; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha 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. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ > use Modern::Perl; > > use Koha::Database; >@@ -7,12 +24,37 @@ use Koha::Acquisition::Basket; > > use base qw( Koha::Objects ); > >+=head1 NAME >+ >+Koha::Acquisition::Baskets - Koha Baskets object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ > sub _type { > return 'Aqbasket'; > } > >+=head3 object_class >+ >+=cut >+ > sub object_class { > return 'Koha::Acquisition::Basket'; > } > >+=head1 AUTHOR >+ >+Aleisha Amohia <aleisha@catalyst.net.nz> >+Catalyst IT >+ >+=cut >+ > 1; >-- >2.7.4
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 18584
:
64236
|
64237
|
64238
|
67095
|
67096
|
67097
|
67157
|
67158
|
67159
|
67160
|
67161
|
79734
|
79743
|
79758
|
79811
|
79953
|
81990
|
82337
|
82347
|
85966
|
85967
|
85968
|
87746
|
87750
|
87775
|
175456
|
175458
|
175610