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

(-)a/Koha/Object.pm (-4 / +3 lines)
Lines 687-699 being hashrefs containing 'str', 'type' and optionally 'category'. Link Here
687
687
688
This is then used in to_api to render the _strings embed when requested.
688
This is then used in to_api to render the _strings embed when requested.
689
689
690
Note: this only returns an empty I<hashref>. Each class should have its
690
Note: this method throws an exception, so devs get reminded adding I<+strings>
691
own mapping returned.
691
to the spec is not enough. Each class should have its own mapping returned.
692
692
693
=cut
693
=cut
694
694
695
sub strings_map {
695
sub strings_map {
696
    return {};
696
    Koha::Exception->throw("This method needs to be subclassed");
697
}
697
}
698
698
699
=head3 public_read_list
699
=head3 public_read_list
700
- 

Return to bug 33161