<<

NAME

Koha::Library::Group - Koha Library::Group object class

API

Class methods

my @parent = $self->parent()

my @children = $self->children()

has_child

my $has_child = $group->has_child( $branchcode );

Return true if the given branchcode library is a child of this group.

library

my $library = $group->library();

Returns the library for this group if one exists

libraries

my @libraries = $group->libraries( { [invert => 1] } );

Returns the libraries set as direct children of this group.

If invert param is true, the returned list will be libraries that are *not* direct children of this group.

all_libraries

my @libraries = $group->all_libraries( { [invert => 1] } );

Returns the libraries set as children of this group or any subgroup.

libraries_not_direct_children

my @libraries = $group->libraries_not_direct_children();

Returns the libraries *not* set as direct children of this group

store

Internal methods

_type

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<