Bugzilla – Attachment 55365 Details for
Bug 17216
Add a new table to store authorized value categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17216: Add Koha::AuthorisedValueCategory|ies classes
Bug-17216-Add-KohaAuthorisedValueCategoryies-class.patch (text/plain), 3.19 KB, created by
Jonathan Druart
on 2016-09-08 17:43:28 UTC
(
hide
)
Description:
Bug 17216: Add Koha::AuthorisedValueCategory|ies classes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-09-08 17:43:28 UTC
Size:
3.19 KB
patch
obsolete
>From 14f1139618afb01ab9ebfa29e6b5bc0376cf3f9c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 29 Aug 2016 13:56:02 +0100 >Subject: [PATCH] Bug 17216: Add Koha::AuthorisedValueCategory|ies classes > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > Koha/AuthorisedValueCategories.pm | 50 +++++++++++++++++++++++++++++++++++++++ > Koha/AuthorisedValueCategory.pm | 44 ++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 Koha/AuthorisedValueCategories.pm > create mode 100644 Koha/AuthorisedValueCategory.pm > >diff --git a/Koha/AuthorisedValueCategories.pm b/Koha/AuthorisedValueCategories.pm >new file mode 100644 >index 0000000..b756f6a >--- /dev/null >+++ b/Koha/AuthorisedValueCategories.pm >@@ -0,0 +1,50 @@ >+package Koha::AuthorisedValueCategories; >+ >+# 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::AuthorisedValueCategory; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::AuthorisedValueCategories - Koha AuthorisedValueCategory Object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'AuthorisedValueCategory'; >+} >+ >+sub object_class { >+ return 'Koha::AuthorisedValueCategory'; >+} >+ >+1; >diff --git a/Koha/AuthorisedValueCategory.pm b/Koha/AuthorisedValueCategory.pm >new file mode 100644 >index 0000000..2146347 >--- /dev/null >+++ b/Koha/AuthorisedValueCategory.pm >@@ -0,0 +1,44 @@ >+package Koha::AuthorisedValueCategory; >+ >+# 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::AuthorisedValueCategory - Koha AuthorisedValueCategory Object class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'AuthorisedValueCategory'; >+} >+ >+1; >-- >2.8.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 17216
:
54979
|
54980
|
54981
|
54982
|
54983
|
54984
|
54985
|
54987
|
54988
|
54989
|
54990
|
54991
|
54992
|
54993
|
55003
|
55004
|
55005
|
55008
|
55009
|
55010
|
55011
|
55021
|
55022
|
55023
|
55024
|
55025
|
55026
|
55027
|
55028
|
55029
|
55030
|
55031
|
55032
|
55047
|
55207
|
55208
|
55209
|
55210
|
55211
|
55212
|
55213
|
55214
|
55215
|
55216
|
55217
|
55218
|
55365
|
55366
|
55367
|
55368
|
55369
|
55370
|
55371
|
55372
|
55373
|
55374
|
55375
|
55376
|
55692
|
55693
|
55835
|
55840
|
56202
|
56203
|
56204
|
56205
|
56206
|
56207
|
56208
|
56209
|
56210
|
56211
|
56212
|
56213
|
56214
|
56215
|
56216
|
56217
|
56619
|
57729