Lines 142-147
sub search {
Link Here
|
142 |
return $class->_new_from_dbic($rs); |
142 |
return $class->_new_from_dbic($rs); |
143 |
} |
143 |
} |
144 |
|
144 |
|
|
|
145 |
=head3 search_limited |
146 |
|
147 |
my $rs = $self->search_limited |
148 |
|
149 |
Generic method that is just a pass through for I<search>. It is expected to be overloaded |
150 |
locally on classes. It's main purpose is to avoid the need to check if the class implements |
151 |
the method locally. |
152 |
|
153 |
=cut |
154 |
|
155 |
sub search_limited { |
156 |
my ( $self, $params, $attributes ) = @_; |
157 |
return $self->search( $params, $attributes ); |
158 |
} |
159 |
|
145 |
=head3 search_related |
160 |
=head3 search_related |
146 |
|
161 |
|
147 |
my $objects = Koha::Objects->search_related( $rel_name, $cond?, \%attrs? ); |
162 |
my $objects = Koha::Objects->search_related( $rel_name, $cond?, \%attrs? ); |
148 |
- |
|
|