Lines 53-59
sub new {
Link Here
|
53 |
return $self; |
53 |
return $self; |
54 |
} |
54 |
} |
55 |
|
55 |
|
56 |
=head AddModifications |
56 |
=head2 AddModifications |
57 |
|
57 |
|
58 |
Koha::Borrower::Modifications->AddModifications( %data ); |
58 |
Koha::Borrower::Modifications->AddModifications( %data ); |
59 |
|
59 |
|
Lines 105-111
sub AddModifications {
Link Here
|
105 |
} |
105 |
} |
106 |
} |
106 |
} |
107 |
|
107 |
|
108 |
=head Verify |
108 |
=head2 Verify |
109 |
|
109 |
|
110 |
$verified = Koha::Borrower::Modifications->Verify( $verification_token ); |
110 |
$verified = Koha::Borrower::Modifications->Verify( $verification_token ); |
111 |
|
111 |
|
Lines 136-142
sub Verify {
Link Here
|
136 |
return $result->{'count'}; |
136 |
return $result->{'count'}; |
137 |
} |
137 |
} |
138 |
|
138 |
|
139 |
=head GetPendingModificationsCount |
139 |
=head2 GetPendingModificationsCount |
140 |
|
140 |
|
141 |
$count = Koha::Borrower::Modifications->GetPendingModificationsCount(); |
141 |
$count = Koha::Borrower::Modifications->GetPendingModificationsCount(); |
142 |
|
142 |
|
Lines 167-173
sub GetPendingModificationsCount {
Link Here
|
167 |
return $result->{'count'}; |
167 |
return $result->{'count'}; |
168 |
} |
168 |
} |
169 |
|
169 |
|
170 |
=head GetPendingModifications |
170 |
=head2 GetPendingModifications |
171 |
|
171 |
|
172 |
$arrayref = Koha::Borrower::Modifications->GetPendingModifications(); |
172 |
$arrayref = Koha::Borrower::Modifications->GetPendingModifications(); |
173 |
|
173 |
|
Lines 207-213
sub GetPendingModifications {
Link Here
|
207 |
return \@m; |
207 |
return \@m; |
208 |
} |
208 |
} |
209 |
|
209 |
|
210 |
=head ApproveModifications |
210 |
=head2 ApproveModifications |
211 |
|
211 |
|
212 |
Koha::Borrower::Modifications->ApproveModifications( $borrowernumber ); |
212 |
Koha::Borrower::Modifications->ApproveModifications( $borrowernumber ); |
213 |
|
213 |
|
Lines 233-239
sub ApproveModifications {
Link Here
|
233 |
} |
233 |
} |
234 |
} |
234 |
} |
235 |
|
235 |
|
236 |
=head DenyModifications |
236 |
=head2 DenyModifications |
237 |
|
237 |
|
238 |
Koha::Borrower::Modifications->DenyModifications( $borrowernumber ); |
238 |
Koha::Borrower::Modifications->DenyModifications( $borrowernumber ); |
239 |
|
239 |
|
Lines 255-261
sub DenyModifications {
Link Here
|
255 |
return $self->DelModifications( borrowernumber => $borrowernumber ); |
255 |
return $self->DelModifications( borrowernumber => $borrowernumber ); |
256 |
} |
256 |
} |
257 |
|
257 |
|
258 |
=head DelModifications |
258 |
=head2 DelModifications |
259 |
|
259 |
|
260 |
Koha::Borrower::Modifications->DelModifications( |
260 |
Koha::Borrower::Modifications->DelModifications( |
261 |
[ borrowernumber => $borrowernumber ], |
261 |
[ borrowernumber => $borrowernumber ], |
Lines 307-313
sub DelModifications {
Link Here
|
307 |
return $sth->execute($value); |
307 |
return $sth->execute($value); |
308 |
} |
308 |
} |
309 |
|
309 |
|
310 |
=head GetModifications |
310 |
=head2 GetModifications |
311 |
|
311 |
|
312 |
$hashref = Koha::Borrower::Modifications->GetModifications( |
312 |
$hashref = Koha::Borrower::Modifications->GetModifications( |
313 |
[ borrowernumber => $borrowernumber ], |
313 |
[ borrowernumber => $borrowernumber ], |