use Koha::IssuingRules;
use Koha::Localizations;
-use base qw(Koha::Object);
+use base qw(Koha::Object Koha::Object::Limit::Library);
=head1 NAME
=head1 API
-=head2 Class Methods
+=head2 Class methods
=cut
return ( $guess->{ $itemtype // q{} } || $guess->{ '*' } ) ? 1 : q{};
}
+=head3 _library_limits
+
+ configure library limits
+
+=cut
+
+sub _library_limits {
+ return {
+ class => "ItemtypesBranch",
+ id => "itemtype",
+ library => "branchcode",
+ };
+}
+
=head3 type
=cut