Bug 25261: (QA follow-up) Add unit tests
[koha.git] / C4 / ClassSplitRoutine.pm
blobcfa84033894795a67fca005fccc8bc0faf1ee840
1 package C4::ClassSplitRoutine;
3 # Copyright 2018 Koha Development Team
5 # This file is part of Koha.
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.
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.
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>.
20 use Modern::Perl;
22 require Exporter;
23 use Class::Factory::Util;
25 use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
28 =head1 NAME
30 C4::ClassSplitRoutine - base object for creation of classification splitting routines
32 =head1 SYNOPSIS
34 use C4::ClassSplitRoutine;
36 =head1 FUNCTIONS
38 =cut
40 @ISA = qw(Exporter);
41 @EXPORT = qw(
42 &GetSplitRoutineNames
45 =head2 GetSplitRoutineNames
47 my @routines = GetSplitRoutineNames();
49 Get names of all modules under C4::ClassSplitRoutine::*.
51 =cut
53 sub GetSplitRoutineNames {
54 return C4::ClassSplitRoutine->subclasses();
59 =head1 AUTHOR
61 Koha Development Team <http://koha-community.org/>
63 =cut