[Koha-bugs] [Bug 17091] New: Add AUTOLOAD to Koha::Objects
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 9 17:12:54 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17091
Bug ID: 17091
Summary: Add AUTOLOAD to Koha::Objects
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Up to now if a Koha::Objects based object needs to call DBIx::Class methods, we
have to create a new method for Koha::Objects, something like:
sub method {
my $self = shift;
return $self->_resultset->method
}
To simplify and ease the call to DBIx::Class method, we could create an
AUTOLOAD method.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list