Bug 25592: Add Devinim to about page
[koha.git] / Koha / AdvancedEditorMacro.pm
blob975f850fa9ecbd08df3a9b965588c937d9b8c8a6
1 package Koha::AdvancedEditorMacro;
3 # This file is part of Koha.
5 # Koha is free software; you can redistribute it and/or modify it under the
6 # terms of the GNU General Public License as published by the Free Software
7 # Foundation; either version 3 of the License, or (at your option) any later
8 # version.
10 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with Koha; if not, see <http://www.gnu.org/licenses>.
17 use Modern::Perl;
19 use Carp;
21 use Koha::Database;
23 use base qw(Koha::Object);
25 =head1 NAME
27 Koha::AdvancedEditorMacro - Koha Advanced editor macro object class
29 =head1 API
31 =head2 Class methods
33 =head3 to_api_mapping
35 =cut
37 sub to_api_mapping {
38 return {
39 id => 'macro_id',
40 macro => 'macro_text',
41 borrowernumber => 'patron_id',
46 =head2 Internal methods
48 =head3 _type
50 =cut
52 sub _type {
53 return 'AdvancedEditorMacro';