<<

NAME

Koha::Patron;;Category - Koha Patron;;Category Object class

API

Class Methods

effective_BlockExpiredPatronOpacActions

my $BlockExpiredPatronOpacActions = $category->effective_BlockExpiredPatronOpacActions

Return the effective BlockExpiredPatronOpacActions value.

store

default_messaging

my $messaging = $category->default_messaging();

branch_limitations

my $limitations = $category->branch_limitations();

$category->branch_limitations( \@branchcodes );

get_branch_limitations

my $limitations = $category->get_branch_limitations();

add_branch_limitation

$category->add_branch_limitation( $branchcode );

del_branch_limitation

$category->del_branch_limitation( $branchcode );

replace_branch_limitations

$category->replace_branch_limitations( \@branchcodes );

Koha::Objects->_catb_resultset

Returns the internal resultset or creates it if undefined

effective_reset_password

Returns if patrons in this category can reset their password. If set in $self->reset_password or, if undef, falls back to the OpacResetPassword system preference.

effective_change_password

Returns if patrons in this category can change their password. If set in $self->change_password or, if undef, falls back to the OpacPasswordChange system preference.

override_hidden_items

    if ( $patron->category->override_hidden_items ) {
        ...
    }

Returns a boolean that if patrons of this category are exempt from the OPACHiddenItems policies

TODO: Remove on bug 22547

Internal methods

type

<<