Bug 21701: Fix up db update
[koha.git] / C4 / ClassSplitRoutine.pm
1 package C4::ClassSplitRoutine;
2
3 # Copyright 2018 Koha Development Team
4 #
5 # This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20 use Modern::Perl;
21
22 require Exporter;
23 use Class::Factory::Util;
24
25 use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
26
27
28 =head1 NAME
29
30 C4::ClassSplitRoutine - base object for creation of classification splitting routines
31
32 =head1 SYNOPSIS
33
34 use C4::ClassSplitRoutine;
35
36 =head1 FUNCTIONS
37
38 =cut
39
40 @ISA    = qw(Exporter);
41 @EXPORT = qw(
42    &GetSplitRoutineNames
43 );
44
45 =head2 GetSplitRoutineNames
46
47   my @routines = GetSplitRoutineNames();
48
49 Get names of all modules under C4::ClassSplitRoutine::*.
50
51 =cut
52
53 sub GetSplitRoutineNames {
54     return C4::ClassSplitRoutine->subclasses();
55 }
56
57 1;
58
59 =head1 AUTHOR
60
61 Koha Development Team <http://koha-community.org/>
62
63 =cut