Koha::Virtualshelf - Koha Virtualshelf Object class
Missing POD for store.
Missing POD for is_public.
Missing POD for is_private.
Missing POD for is_shelfname_valid.
Missing POD for get_shares.
Missing POD for get_contents.
Missing POD for share.
Missing POD for is_shared.
Missing POD for is_shared_with.
Missing POD for remove_share.
Missing POD for add_biblio.
Missing POD for remove_biblios.
Missing POD for can_be_viewed.
Missing POD for can_be_deleted.
Missing POD for can_be_managed.
Missing POD for can_biblios_be_added.
Missing POD for can_biblios_be_removed.
$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).
$list->transfer_ownership( $patron_id );
This method transfers the list ownership to the passed $patron_id.
This method returns the mapping for representing a Koha::Virtualshelf object on the API.
This method returns the list of publicly readable database fields for both API and UI output purposes