Bug 25713 - get_qualified_table_name should be a class method rather than an object method
Summary: get_qualified_table_name should be a class method rather than an object method
Status: RESOLVED WISHLIST
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-11 12:26 UTC by David Cook
Modified: 2022-12-06 06:37 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2020-06-11 12:26:25 UTC
It would be very useful if "get_qualified_table_name" were a class method rather than an object method.

That way you should easily get a qualified table name from anywhere in a plugin without having to instantiate a plugin object.

The current method could be updated to support either class or object method invocations.
Comment 1 David Cook 2022-12-06 06:37:01 UTC
Closing this as it doesn't seem important. I'll re-open if there's ever a need for it