Bugzilla – Attachment 43133 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478: Add Koha::AuthorisedValue[s] class
Bug-12478-Add-KohaAuthorisedValues-class.patch (text/plain), 3.02 KB, created by
Jonathan Druart
on 2015-10-05 13:42:33 UTC
(
hide
)
Description:
Bug 12478: Add Koha::AuthorisedValue[s] class
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-05 13:42:33 UTC
Size:
3.02 KB
patch
obsolete
>From 9df2e6e524a203d73cdca6852efc1c9afaf3002d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 5 Oct 2015 12:51:37 +0100 >Subject: [PATCH] Bug 12478: Add Koha::AuthorisedValue[s] class > >These 2 classes come from bug 10363. >--- > Koha/AuthorisedValue.pm | 44 ++++++++++++++++++++++++++++++++++++++++++ > Koha/AuthorisedValues.pm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 Koha/AuthorisedValue.pm > create mode 100644 Koha/AuthorisedValues.pm > >diff --git a/Koha/AuthorisedValue.pm b/Koha/AuthorisedValue.pm >new file mode 100644 >index 0000000..9dcc01a >--- /dev/null >+++ b/Koha/AuthorisedValue.pm >@@ -0,0 +1,44 @@ >+package Koha::AuthorisedValue; >+ >+# 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::AuthorisedValue - Koha Authorised value Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub type { >+ return 'AuthorisedValue'; >+} >+ >+1; >diff --git a/Koha/AuthorisedValues.pm b/Koha/AuthorisedValues.pm >new file mode 100644 >index 0000000..ebee9c9 >--- /dev/null >+++ b/Koha/AuthorisedValues.pm >@@ -0,0 +1,50 @@ >+package Koha::AuthorisedValues; >+ >+# 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::AuthorisedValue; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::AuthorisedValues - Koha Authorised value Object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub type { >+ return 'AuthorisedValue'; >+} >+ >+sub object_class { >+ return 'Koha::AuthorisedValue'; >+} >+ >+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 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292