https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39488
Bug ID: 39488
Summary: Update Koha::Object(s) to allow for polymorphic
classing
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
This splits out the proof of concept code in bug 39190 that allows for
polymorphic Koha Object classing.
We update our Koha::Object(s) classes to pass back $result and propose a
signature for class selection with resultsets.
This allows for subclassing of an object based on a field in a shared table so
one can keep methods grouped for their tasks more easily.
Example use cases are (S)FTP where we want to store the basic transport details
in one table and then dynamically load the right set of transport protocol
specific methods based on the transport type. We might also want to update the
Account Line classes to work in a similar way, where we store both debits and
credits in one table and would want some shared and some specific methods based
on the account line type.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/