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

(-)a/Koha/Object.pm (-1 / +11 lines)
Lines 207-212 sub id { Link Here
207
    return $id;
207
    return $id;
208
}
208
}
209
209
210
=head3 $object->count();
211
212
Returns how many objects like this are in the DB.
213
214
=cut
215
216
sub count {
217
    my ($self) = @_;
218
    return $self->_result()->count();
219
}
220
210
=head3 $object->_result();
221
=head3 $object->_result();
211
222
212
Returns the internal DBIC Row object
223
Returns the internal DBIC Row object
213
- 

Return to bug 13905