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

(-)a/Koha/Patron/Restriction.pm (-1 / +16 lines)
Lines 29-34 Koha::Patron::Restriction - Koha Patron::Restriction Object class Link Here
29
29
30
=head2 Class methods
30
=head2 Class methods
31
31
32
=head2 Relation accessors
33
34
=head3 type
35
36
  my $restriction_type = $restriction->type;
37
38
Returns the restriction type
39
40
=cut
41
42
sub type {
43
    my ($self) = @_;
44
    my $type_rs = $self->_result->type;
45
    return Koha::Patron::Restriction::Type->_new_from_dbic($type_rs);
46
}
47
32
=head2 Internal methods
48
=head2 Internal methods
33
49
34
=head3 _type
50
=head3 _type
35
- 

Return to bug 31095