@@ -, +, @@ --- Koha/Biblio.pm | 8 ++++++++ Koha/Item.pm | 10 ++++++++++ 2 files changed, 18 insertions(+) --- a/Koha/Biblio.pm +++ a/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) = @_; --- a/Koha/Item.pm +++ a/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 ) = @_; --