Bugzilla – Attachment 161436 Details for
Bug 32607
Add record sources CRUD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32607: Add Koha::RecordSource(s) classes
Bug-32607-Add-KohaRecordSources-classes.patch (text/plain), 2.85 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-01-25 15:44:27 UTC
(
hide
)
Description:
Bug 32607: Add Koha::RecordSource(s) classes
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-01-25 15:44:27 UTC
Size:
2.85 KB
patch
obsolete
>From 4aee710e89cc05aa06a0a1d4e8b509c88eabc104 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 32607: Add Koha::RecordSource(s) classes > >--- > 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 32607
:
146410
|
146411
|
146412
|
149777
|
149827
|
149828
|
149829
|
154006
|
154007
|
154008
|
154009
|
154010
|
154438
|
155682
|
155683
|
155684
|
155685
|
155686
|
155958
|
157756
|
157757
|
157758
|
157759
|
157760
|
157761
|
157762
|
161362
|
161363
|
161364
|
161365
|
161366
|
161367
|
161435
| 161436 |
161437
|
161438
|
161439
|
161440
|
161441
|
161474