|
Lines 378-383
sub items {
Link Here
|
| 378 |
return Koha::Items->_new_from_dbic( $items_rs ); |
378 |
return Koha::Items->_new_from_dbic( $items_rs ); |
| 379 |
} |
379 |
} |
| 380 |
|
380 |
|
|
|
381 |
=head3 items_count |
| 382 |
|
| 383 |
my $items_count = $biblio->items(); |
| 384 |
|
| 385 |
Returns the count of the the related Koha::Items object for this biblio |
| 386 |
|
| 387 |
=cut |
| 388 |
|
| 389 |
sub items_count { |
| 390 |
my ($self) = @_; |
| 391 |
|
| 392 |
return $self->_result->items->count; |
| 393 |
} |
| 394 |
|
| 381 |
=head3 itemtype |
395 |
=head3 itemtype |
| 382 |
|
396 |
|
| 383 |
my $itemtype = $biblio->itemtype(); |
397 |
my $itemtype = $biblio->itemtype(); |
| 384 |
- |
|
|