<<

NAME

Koha::Virtualshelf - Koha Virtualshelf Object class

API

Class methods

store

Missing POD for store.

is_public

Missing POD for is_public.

is_private

Missing POD for is_private.

is_shelfname_valid

Missing POD for is_shelfname_valid.

get_shares

Missing POD for get_shares.

get_contents

Missing POD for get_contents.

share

Missing POD for share.

is_shared

Missing POD for is_shared.

is_shared_with

Missing POD for is_shared_with.

remove_share

Missing POD for remove_share.

add_biblio

Missing POD for add_biblio.

remove_biblios

Missing POD for remove_biblios.

can_be_viewed

Missing POD for can_be_viewed.

can_be_deleted

Missing POD for can_be_deleted.

can_be_managed

Missing POD for can_be_managed.

can_biblios_be_added

Missing POD for can_biblios_be_added.

can_biblios_be_removed

Missing POD for can_biblios_be_removed.

cannot_be_transferred

    $shelf->cannot_be_transferred({
        by => $p1, to => $p2, interface => opac|intranet|undef,
            # p1 and p2 are borrowernumbers
    });

    This routine has two main goals:
    [1] Decide if patron may transfer a shared list to another
        sharee (patron).
    [2] Decide if staff member may transfer a public list.

    If you pass interface, we'll check if it supports transfer too.
    NOTE: The explicit passing is still more reliable than via context,
    since we could switch interface after login in the same session.

    Returns a true value (read: error_code) when not allowed.
    The following error codes are possible:
        unauthorized_transfer, missing_by_parameter, new_owner_not_found,
        new_owner_has_no_share, missing_to_parameter.
    Otherwise returns false (zero).

transfer_ownership

    $list->transfer_ownership( $patron_id );

This method transfers the list ownership to the passed $patron_id.

to_api_mapping

This method returns the mapping for representing a Koha::Virtualshelf object on the API.

public_read_list

This method returns the list of publicly readable database fields for both API and UI output purposes

Internal methods

_type

<<