[Koha-devel] Helper/Static methods for objects
Nick Clemens
nick at bywatersolutions.com
Fri Jul 16 21:19:35 CEST 2021
Hi All,
On two different bugs we have run into similar issues where a method was
needed that didn't use the object directly.
On bug 28709 I proposed checking the ref of $self to see if this was called
via the object - David Cook proposed adding a second method that is always
called directly and calling that from the object method
On bug 20817 Kyle proposed a Koha::Util::Acquisition class and we could
utilize that for other object as well, e.g. Koha::Util::Biblio,
Koha::Util::Item
I put this on the agenda for the next dev meeting, I am sending it out here
to get opinions and encourage attendance at that meeting to vote on a path
forward.
-Nick
--
Nick Clemens
ByWater Solutions
bywatersolutions.com
Phone: (888) 900-8944
Pronouns: (he/him/his)
Timezone: Eastern
Follow us:
<https://www.facebook.com/ByWaterSolutions/>
<https://www.instagram.com/bywatersolutions/>
<https://www.youtube.com/user/bywatersolutions>
<https://twitter.com/ByWaterSolution>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210716/7d2f6894/attachment.htm>
More information about the Koha-devel
mailing list