Bugzilla – Attachment 148461 Details for
Bug 33104
Add vendor interfaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33104: Koha classes
Bug-33104-Koha-classes.patch (text/plain), 3.05 KB, created by
Jonathan Druart
on 2023-03-21 13:12:14 UTC
(
hide
)
Description:
Bug 33104: Koha classes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-21 13:12:14 UTC
Size:
3.05 KB
patch
obsolete
>From d759f8a3b4b00bd619e03322edded9fa39082d14 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 1 Mar 2023 15:27:39 +0100 >Subject: [PATCH] Bug 33104: Koha classes > >--- > Koha/Acquisition/Bookseller/Interface.pm | 40 ++++++++++++++++++ > Koha/Acquisition/Bookseller/Interfaces.pm | 50 +++++++++++++++++++++++ > 2 files changed, 90 insertions(+) > create mode 100644 Koha/Acquisition/Bookseller/Interface.pm > create mode 100644 Koha/Acquisition/Bookseller/Interfaces.pm > >diff --git a/Koha/Acquisition/Bookseller/Interface.pm b/Koha/Acquisition/Bookseller/Interface.pm >new file mode 100644 >index 00000000000..b038f539e4e >--- /dev/null >+++ b/Koha/Acquisition/Bookseller/Interface.pm >@@ -0,0 +1,40 @@ >+package Koha::Acquisition::Bookseller::Interface; >+ >+# 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, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use base qw( Koha::Object ); >+ >+=head1 NAME >+ >+Koha::Acquisition::Bookseller::Interface - Koha Bookseller interface Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'AqbooksellerInterface'; >+} >+ >+1; >diff --git a/Koha/Acquisition/Bookseller/Interfaces.pm b/Koha/Acquisition/Bookseller/Interfaces.pm >new file mode 100644 >index 00000000000..9f8435204e4 >--- /dev/null >+++ b/Koha/Acquisition/Bookseller/Interfaces.pm >@@ -0,0 +1,50 @@ >+package Koha::Acquisition::Bookseller::Interfaces; >+ >+# 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, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use base qw( Koha::Objects ); >+ >+use Koha::Acquisition::Bookseller::Interface; >+ >+=head1 NAME >+ >+Koha::Acquisition::Bookseller::Interfaces - Koha Bookseller interface Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'AqbooksellerInterface'; >+} >+ >+=head3 object_class >+ >+=cut >+ >+sub object_class { >+ return 'Koha::Acquisition::Bookseller::Interface'; >+} >+ >+1; >-- >2.25.1
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 33104
:
147632
|
147633
|
147634
|
147635
|
147636
|
147637
|
147638
|
147639
|
148459
|
148460
|
148461
|
148462
|
148463
|
148464
|
148465
|
148466
|
148473
|
148474
|
148475
|
148476
|
148477
|
148478
|
148479
|
148480
|
149375
|
149420
|
149421
|
149422
|
149431
|
149492
|
149493
|
149494
|
149495
|
149496
|
149497
|
149498
|
149499
|
149500
|
149501
|
149502
|
149503
|
149631
|
149632