Lines 45-50
use Koha::Patron::Debarments;
Link Here
|
45 |
use Koha::Patron::HouseboundProfile; |
45 |
use Koha::Patron::HouseboundProfile; |
46 |
use Koha::Patron::HouseboundRole; |
46 |
use Koha::Patron::HouseboundRole; |
47 |
use Koha::Patron::Images; |
47 |
use Koha::Patron::Images; |
|
|
48 |
use Koha::Patron::Files; |
48 |
use Koha::Patron::Messages; |
49 |
use Koha::Patron::Messages; |
49 |
use Koha::Patron::Modifications; |
50 |
use Koha::Patron::Modifications; |
50 |
use Koha::Patron::Relationships; |
51 |
use Koha::Patron::Relationships; |
Lines 436-441
sub image {
Link Here
|
436 |
return Koha::Patron::Images->find( $self->borrowernumber ); |
437 |
return Koha::Patron::Images->find( $self->borrowernumber ); |
437 |
} |
438 |
} |
438 |
|
439 |
|
|
|
440 |
=head3 filecount |
441 |
|
442 |
=cut |
443 |
|
444 |
sub filecount { |
445 |
my ( $self ) = @_; |
446 |
|
447 |
my $files = Koha::Patron::Files->new( borrowernumber => $self->borrowernumber )->GetFilesInfo(); |
448 |
return $files; |
449 |
} |
450 |
|
439 |
=head3 library |
451 |
=head3 library |
440 |
|
452 |
|
441 |
Returns a Koha::Library object representing the patron's home library. |
453 |
Returns a Koha::Library object representing the patron's home library. |