From 5fdb70d2cebe8c626028be44aa2d0bf5dbab607f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 30 Jul 2021 16:25:04 +0200 Subject: [PATCH] Bug 27526: Add missing POD --- Koha/Biblio.pm | 8 ++++++++ Koha/Item.pm | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 4f889eead60..bb64a163037 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -419,6 +419,14 @@ sub items { return Koha::Items->_new_from_dbic( $items_rs ); } +=head3 host_items + +my $host_items = $biblio->host_items(); + +Return the host items (easy analytical record) + +=cut + sub host_items { my ($self) = @_; diff --git a/Koha/Item.pm b/Koha/Item.pm index a4e04972a36..7ef0775b9e9 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -939,6 +939,16 @@ sub cover_images { return Koha::CoverImages->_new_from_dbic($cover_image_rs); } +=head3 columns_to_str + + my $values = $items->columns_to_str; + +Return a hashref with the string representation of the different attribute of the item. + +This is meant to be used for display purpose only. + +=cut + sub columns_to_str { my ( $self ) = @_; -- 2.20.1