Bugzilla – Attachment 41889 Details for
Bug 14722
Refactor the catalogue export tool (command-line tools/export.pl does not work anymore. Use misc/export_records.pl instead)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14722: Add Koha::Biblioitem[s]
Bug-14722-Add-KohaBiblioitems.patch (text/plain), 2.87 KB, created by
Jonathan Druart
on 2015-08-25 10:43:15 UTC
(
hide
)
Description:
Bug 14722: Add Koha::Biblioitem[s]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-08-25 10:43:15 UTC
Size:
2.87 KB
patch
obsolete
>From dd522c76e98b76590b1e653463b9a3092ef3b122 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 24 Aug 2015 09:18:07 +0100 >Subject: [PATCH] Bug 14722: Add Koha::Biblioitem[s] > >--- > Koha/Biblioitem.pm | 44 ++++++++++++++++++++++++++++++++++++++++++++ > Koha/Biblioitems.pm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 Koha/Biblioitem.pm > create mode 100644 Koha/Biblioitems.pm > >diff --git a/Koha/Biblioitem.pm b/Koha/Biblioitem.pm >new file mode 100644 >index 0000000..b71cfd8 >--- /dev/null >+++ b/Koha/Biblioitem.pm >@@ -0,0 +1,44 @@ >+package Koha::Biblioitem; >+ >+# 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 Carp; >+ >+use Koha::Database; >+ >+use base qw(Koha::Object); >+ >+=head1 NAME >+ >+Koha::Biblioitem - Koha Biblioitem Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub type { >+ return 'Biblioitem'; >+} >+ >+1; >diff --git a/Koha/Biblioitems.pm b/Koha/Biblioitems.pm >new file mode 100644 >index 0000000..c21c64d >--- /dev/null >+++ b/Koha/Biblioitems.pm >@@ -0,0 +1,50 @@ >+package Koha::Biblioitems; >+ >+# 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 Carp; >+ >+use Koha::Database; >+ >+use Koha::Biblioitem; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::Biblioitem - Koha Biblioitem Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub type { >+ return 'Biblioitem'; >+} >+ >+sub object_class { >+ return 'Koha::Biblioitem'; >+} >+ >+1; >-- >2.1.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 14722
:
41889
|
41890
|
42280
|
42281
|
43578
|
43579
|
43580
|
43673
|
43674
|
43675
|
43676
|
43677