View | Details | Raw Unified | Return to bug 33970
Collapse All | Expand All

(-)a/Koha/Illrequestattribute.pm (-1 / +29 lines)
Lines 29-34 Koha::Illrequestattribute - Koha Illrequestattribute Object class Link Here
29
29
30
=head1 API
30
=head1 API
31
31
32
=head2 Class methods
33
34
=head3 store
35
36
Overloaded store method to ensure we have backend filled if not already passed
37
38
=cut
39
40
sub store {
41
    my ($self) = @_;
42
43
    if ( !$self->backend ) {
44
        $self->backend( $self->request->backend );
45
    }
46
47
    return $self->SUPER::store;
48
}
49
50
=head3 request
51
52
Returns a Koha::Illrequest object representing the core request.
53
54
=cut
55
56
sub request {
57
    my ($self) = @_;
58
    return Koha::Illrequest->_new_from_dbic( $self->_result->illrequest );
59
}
60
32
=head2 Internal methods
61
=head2 Internal methods
33
62
34
=head3 _type
63
=head3 _type
35
- 

Return to bug 33970