|
Lines 1120-1126
sub set_password {
Link Here
|
| 1120 |
module => 'members', |
1120 |
module => 'members', |
| 1121 |
letter_code => 'PASSWORD_CHANGE', |
1121 |
letter_code => 'PASSWORD_CHANGE', |
| 1122 |
branchcode => $self_from_storage->branchcode, |
1122 |
branchcode => $self_from_storage->branchcode, |
| 1123 |
, |
1123 |
|
| 1124 |
lang => $self_from_storage->lang || 'default', |
1124 |
lang => $self_from_storage->lang || 'default', |
| 1125 |
tables => { |
1125 |
tables => { |
| 1126 |
'branches' => $self_from_storage->branchcode, |
1126 |
'branches' => $self_from_storage->branchcode, |
|
Lines 3568-3576
sub is_anonymous {
Link Here
|
| 3568 |
return ( $anonymous_patron && $self->borrowernumber eq $anonymous_patron ) ? 1 : 0; |
3568 |
return ( $anonymous_patron && $self->borrowernumber eq $anonymous_patron ) ? 1 : 0; |
| 3569 |
} |
3569 |
} |
| 3570 |
|
3570 |
|
| 3571 |
=head3 get_permissions |
3571 |
=head3 permissions |
| 3572 |
|
3572 |
|
| 3573 |
my $flags = $patron->get_permissons |
3573 |
my $flags = $patron->permissions |
| 3574 |
|
3574 |
|
| 3575 |
Returns a structure such as: |
3575 |
Returns a structure such as: |
| 3576 |
{ |
3576 |
{ |
| 3577 |
- |
|
|