|
Lines 411-416
sub items {
Link Here
|
| 411 |
return Koha::Items->_new_from_dbic( $items_rs ); |
411 |
return Koha::Items->_new_from_dbic( $items_rs ); |
| 412 |
} |
412 |
} |
| 413 |
|
413 |
|
|
|
414 |
=head3 items_count |
| 415 |
|
| 416 |
my $items_count = $biblio->items(); |
| 417 |
|
| 418 |
Returns the count of the the related Koha::Items object for this biblio |
| 419 |
|
| 420 |
=cut |
| 421 |
|
| 422 |
sub items_count { |
| 423 |
my ($self) = @_; |
| 424 |
|
| 425 |
return $self->_result->items->count; |
| 426 |
} |
| 427 |
|
| 414 |
=head3 itemtype |
428 |
=head3 itemtype |
| 415 |
|
429 |
|
| 416 |
my $itemtype = $biblio->itemtype(); |
430 |
my $itemtype = $biblio->itemtype(); |
| 417 |
- |
|
|