Bugzilla – Attachment 161532 Details for
Bug 35919
Add record sources CRUD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35919: Add Koha::RecordSource(s) classes
Bug-35919-Add-KohaRecordSources-classes.patch (text/plain), 2.90 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-01-26 13:58:03 UTC
(
hide
)
Description:
Bug 35919: Add Koha::RecordSource(s) classes
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-01-26 13:58:03 UTC
Size:
2.90 KB
patch
obsolete
>From a80df763370feb7208cda93447e4429fff65ff20 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 24 Jan 2024 16:16:36 -0300 >Subject: [PATCH] Bug 35919: Add Koha::RecordSource(s) classes > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/RecordSource.pm | 44 +++++++++++++++++++++++++++++++++++++ > Koha/RecordSources.pm | 51 +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 95 insertions(+) > create mode 100644 Koha/RecordSource.pm > create mode 100644 Koha/RecordSources.pm > >diff --git a/Koha/RecordSource.pm b/Koha/RecordSource.pm >new file mode 100644 >index 00000000000..8b4fecbe25c >--- /dev/null >+++ b/Koha/RecordSource.pm >@@ -0,0 +1,44 @@ >+package Koha::RecordSource; >+ >+# This file is part of Koha. >+# >+# Copyright 2024 Koha Development Team >+# >+# 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); >+ >+use Koha::Patrons; >+use Koha::Token; >+ >+=head1 NAME >+ >+Koha::RecordSource - Koha RecordSource Object class >+ >+=head1 API >+ >+=head2 Internal methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'RecordSource'; >+} >+ >+1; >diff --git a/Koha/RecordSources.pm b/Koha/RecordSources.pm >new file mode 100644 >index 00000000000..cd1f9f90cc2 >--- /dev/null >+++ b/Koha/RecordSources.pm >@@ -0,0 +1,51 @@ >+package Koha::RecordSources; >+ >+# This file is part of Koha. >+# >+# Copyright 2024 Koha Development Team >+# >+# 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::RecordSource; >+ >+=head1 NAME >+ >+Koha::RecordSources - Koha RecordSources Object class >+ >+=head1 API >+ >+=head2 Internal methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'RecordSource'; >+} >+ >+=head3 object_class >+ >+=cut >+ >+sub object_class { >+ return 'Koha::RecordSource'; >+} >+ >+1; >-- >2.43.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 35919
:
161531
|
161532
|
161533
|
161534
|
161535
|
161537
|
161538
|
161577
|
161578
|
161579
|
161580
|
161581
|
161582
|
161583
|
162489
|
162594
|
162595
|
162596
|
162599
|
163348
|
163349
|
163350
|
163351
|
163352
|
163353
|
163354
|
163355
|
163360
|
163369
|
163389
|
163390
|
163391
|
163392
|
163393
|
163394
|
163395
|
163396
|
163397
|
163398
|
163399
|
163400
|
164708
|
164709
|
164710
|
164711
|
164712
|
164713
|
164714
|
164715
|
164716
|
164717
|
165274