Lines 35-41
Koha::Library::Groups - Koha Library::Group object set class
Link Here
|
35 |
|
35 |
|
36 |
=head2 Class Methods |
36 |
=head2 Class Methods |
37 |
|
37 |
|
38 |
=head3 my @root_groups = $self->get_root_group() |
38 |
=head3 get_root_groups |
|
|
39 |
|
40 |
my @root_groups = $self->get_root_group() |
39 |
|
41 |
|
40 |
=cut |
42 |
=cut |
41 |
|
43 |
|
Lines 45-51
sub get_root_groups {
Link Here
|
45 |
return $self->search( { parent_id => undef }, { order_by => 'title' } ); |
47 |
return $self->search( { parent_id => undef }, { order_by => 'title' } ); |
46 |
} |
48 |
} |
47 |
|
49 |
|
48 |
=head3 my @search_groups = $self->get_search_groups({[interface => 'staff' || 'opac']})) |
50 |
=head3 get_search_groups |
|
|
51 |
|
52 |
my @search_groups = $self->get_search_groups({[interface => 'staff' || 'opac']})) |
49 |
|
53 |
|
50 |
Returns search groups for the specified interface. |
54 |
Returns search groups for the specified interface. |
51 |
Defaults to OPAC if no interface is specified. |
55 |
Defaults to OPAC if no interface is specified. |
52 |
- |
|
|